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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Multiple view control Module display issueMultiple view control Module display issue
Previous
 
Next
New Post
3/22/2010 10:46 AM
 

HI,

I am developming a module in DNN 5.02.02 Community eddition. My module contains many view controls. I am accessing these controls using 

Response.Redirect(Globals.NavigateURL(PortalSettings.ActiveTab.TabID, this.PortalSettings, "confirmation", "mid=" + ModuleId.ToString()));

 

 

The other view controls are displayed successfully. The problem that I am facing is that

on my main view Module is placed in a pane say "BottomPane", when the 2nd view of the module is displayed it is displayed in the "ContentPane". Is there any thing that I need to implement in the code so that it display the module in the "BottomPane" in the 2nd view.

Thanks in Advance

 
New Post
3/22/2010 12:26 PM
 

Using the standard DotNetNuke way of navigating to a module control other than the default view control will cause a switch to the admin skin (either the default admin skin for the portal or the admin skin assigned to the page) and the hiding of other modules normally on the page. When using this approach, you will need to make sure that your admin skin contains a pane named "BottomPane". Otherwise, the module view will be placed in the "ContentPane".

Rather than using the DotNetNuke way of navigating to other view controls you could consider having your main view control dynamically load the other view usercontrols (using LoadControl) or having all of the various views in the same control but displayed as appropriate by manipulating their Visible property or using an asp.net multi-view or wizard step control. Either approach will avoid the switch to the admin skin.


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
 
New Post
3/22/2010 12:36 PM
 

Unfortunately is there no edit skin in page level just at portal level.

(Admin skin renamed to edit skin in rel 5.x)

 
New Post
3/23/2010 3:45 AM
 

Hi. I have set Skin abc as my EDIT skin for th entire portal that contains the "BottomPane" and many other pane. I also tried using the LoadControl method, problem remains the same. 2nd view control is always placed in the contentpane where as I want it to be displayed in Bottompane similar to the view 1.

 
New Post
3/23/2010 9:41 AM
 

I stand to be corrected as I had not noticed before that it is apparently "normal" behavior for DotNetNuke to display any module control other than the default view (the one with a blank ControlKey) in the ContentPane rather than the pane in which the module was placed. This behavior will occur whenever using DotNetNukes mechanism of navigating to a module's non-default controls by including the ControlKey in the query string. This does make some sense in that when displaying the non-default view control, all other modules normally shown on the page are not rendered.

So, if you must display other view controls of the module in the BottomPane then your options will be to either dynamically load the other views into a placeholder control of your default view control or use one of several variations on having your main view include all of the other views then display or hide them appropriately.

You mentioned that the LoadControl approach did not work. Can you post your code as to how you were implementing that approach?


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
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Multiple view control Module display issueMultiple view control Module display issue


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