Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Module developed but not rendering
Previous Previous
 
Next Next
New Post 6/12/2008 12:50 PM
Resolved
User is offline Abhishek Kant
38 posts
10th Ranked


Module developed but not rendering 

hi

this may seem like a layman problem. I have developed a module using LINQ to SQL as in Michael's tutorials. while the directory structure is fine and the project compiles fine i am facing issues getting it renedered on the portal.

i am using DNN 4.8.4. the module was developed and then added to the portal using "Create New Module" of the Host -> Module Definitions. In the module definition i added a new definition and then a new control (with key etc defined).. next i added a page in the portal and added the module to the page. However, the module is not rendering at all on the page. there is simply no display. the module is not visible in host or anonymous view.

Could someone suggest what should i be looking at to fix this problem.

cheers

Abhishek

 
New Post 6/12/2008 1:21 PM
Accepted Answer 
User is offline Steve Fabian
1357 posts
6th Ranked








Re: Module developed but not rendering 
The 'default' control of your module should NOT have a KEY defined .. leave it blank
Steve Fabian
Gooddogs.com
Sit, Stay, Code ... Good boy!
 
New Post 6/12/2008 1:28 PM
User is offline Carlos Rodriguez
509 posts
www.almacigo.com
8th Ranked


Re: Module developed but not rendering 

AK:

Are you saying that you only get a blank page???  No error messages???

If that is the case, then you may be in the right path.  Another question, how many controls you have on the module?  Just the control using LINQ?  If that is the case, then the module may be working and your query is just not retrieving any records.

I'm making a lot of assumptions here, but just in case, make sure that you have some basic label controls on your module so that they show regardless of the result of the query.  Also, make sure that your basic functionality of the control is in the View module and that your module definition points to it properly.

Also, check user rights to the module.  Does it work if you login as Admin for instance?

Again, the fact that you are not getting errors is interesting, most people start by getting errors first.

 
New Post 6/12/2008 5:52 PM
User is offline Michael Washington
2641 posts
ADefWebserver.com
5th Ranked










Re: Module developed but not rendering 

Steve is right it's probably that you have a key defined on your view control. It should be blank like this:



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 6/14/2008 11:21 AM
User is offline Abhishek Kant
38 posts
10th Ranked


Re: Module developed but not rendering 

thank you. removing the key on the view control solved the problem.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Module developed but not rendering
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Smart-Thinker
DNN Modules for Social Networks for as low as $69 for 6 modules! We also maintain the DotNetNuke Directory - http://DNNDir.com
www.smart-thinker.com
DNN Photo Gallery
Complete Photo Gallery Management!
www.dnnPhotoGallery.com
R2i - Delivering Serious DNN Services & Solutions
Award Winning Design, Skin construction, Custom Modules and Consulting Services for the Enterprise organization. R2i is the DNN:Map module Project Lead and one of the largest DNN service providers with offices in New York City, Virginia and Baltimore.
www.bi4ce.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP