Forum


HomeHomePremiumPremiumDevelopmentDevelopmentAdding a module to a custom moduleAdding a module to a custom module
Previous
 
Next
New Post
3/23/2013 10:40 AM
 

Hello,

When developing a dnn module, does anyone know how to make the module accept other modules as content?

For example, if created an accordion module, I'd like to be able to add other dnn modules to it via the dnn admin interface.

I've only take the accordion as an example, I'm sure there's plenty of other occasions when adding a module to a module would be useful.

Best Regards,

Steve

 
New Post
3/23/2013 11:12 AM
 

Hi Steve,

I can't say that I did that in the past, but I have done something similar which may give you a starting point.

I have used a standard .NET PlaceHolder control in my own control and then I was able to load controls inside my place holder by calling PlaceHolder.Controls.Add( [ 2ND CONTROL] )

It is a stretch to hope that this will help much but I think it can be a starting point.

Cheers,

Aderson

 
New Post
3/23/2013 11:28 AM
 

Yes that would be stretching it, ideally what I'd like to do is create an equivalent of content panes within each tab.

OK thanks anyway, I will have to hunt around and see what I can find.

 
New Post
3/23/2013 11:33 AM
 

Steve,

Each contentpane of yours would have to be a PlaceHolder, which could be created dynamically as necessary.

Aderson

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentAdding a module to a custom moduleAdding a module to a custom module



Try FREE
30 days money back guaranteed