Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module developed but not renderingModule developed but not rendering
Previous
 
Next
New Post
6/12/2008 3:50 PM
 

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 4:21 PM
Accepted Answer 
The 'default' control of your module should NOT have a KEY defined .. leave it blank
 
New Post
6/12/2008 4:28 PM
 

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 8:52 PM
 

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



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
6/14/2008 2:21 PM
 

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

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module developed but not renderingModule developed but not rendering


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out