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.0portal vs. admin skin?portal vs. admin skin?
Previous
 
Next
New Post
10/11/2007 11:42 AM
 

Hi,

I have a module with multiple view controls. When I navigate to a tab that contains an instance of the module the tab has the proper portal/tab skin and the module instance displays the default view. When I click a button in the module that navigates to another view, the tab switches to Admin skin:

protected void cmdView_Click(object sender, EventArgs e)
{
  string[] param = { "mid=" + ModuleId };
  Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(TabId, "View2", param));
}

1. I guess this is default behaviour, but I'm wondering what events actually trigger the switching from portal/tab skin to admin skin?

2. Is it possible to control the portal/tab/admin skin switching from code-behind?

Thanks in advance,

rudgr

 
New Post
10/13/2007 8:45 AM
 

Hi,

If I understand correctly, dnn always switches to admin skin when a new control is loaded using either navigateurl or editurl, even is this control is also a view control.

Wouldn't it be better to let the module devlopper decide whether the skin should switch to edit skin or not?

I'm also wondering how others handle this? I read Michael's excellent article (http://www.adefwebserver.com/DotNetNukeHELP/Misc/ModuleNavigationOptions.htm)

thanks,

rudgr

 
New Post
10/15/2007 8:28 AM
 
I understand your frustration, that is why I wrote the article. I think the Blog module offers the best example. And you could, for example, make more than one Blog per portal if you program it to use the TabId rather than portaliD.
 
I have found that when I have a problem I am trying to put too much into one module. I Need to break it up and have more modules. Also using popups helps. Also using web services or the Update Panel allows me to respond to actions without having to navigate away from the page. Silverlight solves the problem entirely.


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.0portal vs. admin skin?portal vs. admin skin?


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