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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module not adding to pageModule not adding to page
Previous
 
Next
New Post
4/29/2008 11:32 AM
 

I have designed a custom module, and when I try to add it to a page, it will not appear. I have defined it in the host module definitions settings as I have done before. I can see it in the dropdown list of modules to add to the page, but when I choose to add it to my page (or a brand new page), it just won't show up. No error messages that I can see, no other warnings... nothing.

I've made a placeholder aspx page that simply holds the ascx file as a user control, and it works fine there; just not when I add it to a page as a module.

Here's the placeholder page:

http://enoveltysigns.c2itconsulting.net/desktopmodules/signcontrol/default.aspx

And here is the page I'm trying to put it on.

http://enoveltysigns.c2itconsulting.net

Any ideas would be welcomed. I've tried checking and unchecking "allows partial rendering" to see if it has anything to do with AJAX but haven't gotten anywhere there, either.

Here's the beginning of the ascx.vb file - I have it inheriting the property objects...

Partial Class SignControl
    Inherits Entities.Modules.PortalModuleBase
...
End Class

I've compiled the page, and the entire solution, and it builds just fine.

Any ideas what I'm missing?

 
New Post
4/29/2008 5:57 PM
Accepted Answer 

When you created the module definition did you create a definition for one of the controls with an empty key? You need one with an empty key.

see:

Register the module in DotNetNuke



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
4/29/2008 9:49 PM
 

Michael Washington wrote

When you created the module definition did you create a definition for one of the controls with an empty key? You need one with an empty key.

see:

Register the module in DotNetNuke

You are the hero of my hour! Although, somehow, I'm guessing this is one of those things often learned by doing it the wrnog way first. That did the trick! My page now has about 20 controls I need to remove, but they are there!

THanks a lot!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module not adding to pageModule not adding to page


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