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.0How to dynamically load a moduleHow to dynamically load a module
Previous
 
Next
New Post
7/31/2008 5:14 PM
 

Michael:

Seems like we were posting at the same time. 

I have seen your write up on the dynamic loading stuff and I have to say that I have not run into the v13wstate issue because what I've been doing is a little different.  Again, following the same basic logic of the switchboard concept, I do not put any controls whatsoever (well, maybe only a couple of label controls at the top) on the switchboard, in other words, on the main view control.  For some Intranet type applications I have developed (as DNN modules) I basically leave the main view module (or switchboard) empty, then I dynamically load the rest of the user controls according to app logic, user rights, etc.  Any submit buttons would be on the child user control, not on the main switchboard.  Does this make sense?

One thing however, you must keep track internally of what user control is being loaded.  And they do use v13wstate just fine.  Again, in this way you only have to register one view control, this may be seen as a limitation but it is a plus in my opinion.  I don't use an Edit control either, since for this type of application the user rights get kind of complex I also take care of that internally in the module (but based on DNN security roles of course).

Maybe I was lucky when I started doing this the way I laid it out, but maybe because I'm getting old I tend to try to keep things simple to make my life easier.  This is why I decided not to mix controls from the switchboard and the child user controls and just replace the whole thing every time.

What do you think?

Carlos

 

 

 

 
New Post
7/31/2008 6:25 PM
 

I admit the Viewstat e issue does not HAVE to be a problem if you structure things carefully/correctly.

It's just that not everyone can/does that :)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to dynamically load a moduleHow to dynamically load a module


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