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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Non-default view controlNon-default view control
Previous
 
Next
New Post
7/15/2010 5:46 PM
 
Howdy....

I'm trying to understand the default behaviour of DNN when using a "non-default view" (or as named in the source code: "SlaveModules").

Why does DNN turn off all the other panes except the content pane when using the "non-default" view?

Would it be a "bad thing"(tm) to change this default behaviour in targeted situations?
 
New Post
7/16/2010 12:08 AM
 
As you have found, any redirection to other than the default view control (i.e. including the "ctl" parameter in the query string will switch to the edit skin and isolate the module by displaying it in the ContentPane and preventing rendering of other modules on the page. The short answer to "why" is because it was designed that way. The longer answer is that (for edit controls in particular) it focuses the user's attention onto the module and avoids some potentially difficult interactions between multiple interactive modules on the same page.

For non-default view controls I prefer to avoid this behavior by designing the module to either manipulate the visibility of panel or multi-view controls containing each view or better yet have the default view act as a container or dispatch control that then loads (via LoadControl into a PlaceHodler control) the other user or server controls for the desired view or management/edit screen.

I would highly discourage modifying framework code to alter its module control injection behaviour - in large part because of the difficulties that core modifications present on upgrade and the big unknown of how such changes would affect core and third party modules.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Non-default view controlNon-default view control


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