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.0Module Control SkinModule Control Skin
Previous
 
Next
New Post
10/19/2006 12:35 PM
 
I have developed a DNN module which shows a list of entries from a table, the user can then click on an entry to see a more detailed view of the data held. In the item_command event of the grid control I am redirecting the user to another module control (as specified in the .dnn configuration file);

Response.Redirect(Globals.NavigateURL(TabId, "ViewCaseDetail",
                        "Mid=" + ModuleId + "&CaseID=" + ((LinkButton)e.CommandSource).Text));

This works perfectly, the only problem is that when the new page opens it defaults to the default DNN blue skin, whereas our web developer has designed a custom skin for us. My question is how can I specify the skin I want to use on the new page?
 
New Post
10/19/2006 2:18 PM
 

Sorry to point out the obvious... but have you looked at the page or module advanced settings?  you can define page and container skins at a number of levels (listed below).  By default all values are not configured except for the host settings - so everything uses the host settings...  anything further down the list overrides the settings above it.

Default page skin for host

Default container skin for host

Default page skin for portal

Default container skin for portal

Specific page skin for page

Default container skin for page

Specific container skin for Module

 

 

 
New Post
10/20/2006 4:31 AM
 
I have set the Portal Skin to be the skin I would like on this page but it still doesn't make any difference. Moving further down your chain I had already set the skin I wanted on the page settings that the module appears on. When the module first loads up with it's default page it all shows how I want. What's stumping me is why does the page look and feel change from the original page settings when you redirect to another control within the module? The tabid stays the same in the URL so shouldn't dnn use the page settings from that page? And if it doesn't how are you supposed to dictate the page settings?

i.e. the user starts at;

localhost/ClientPortal/SupportCaseEnquiry/tabid/365/Default.aspx

then on clicking the data grid item is redirected to;

localhost/ClientPortal/SupportCaseEnquiry/tabid/365/ctl/ViewCaseDetail/Mid/1659/CaseID/CAS-124887-GN4SN6/Default.aspx

The first page is shown correctly using the skin and container I specified on the page settings. The second page is shown in the standard DNN Blue skin.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Control SkinModule Control 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