Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How do you programatically set Display Container to false?
Previous Previous
 
Next Next
New Post 2/22/2008 11:24 AM
User is offline IronKane
9 posts
10th Ranked


How do you programatically set Display Container to false? 

I'm creating a multiple control module and thought I'd see what it looks like without the container since the page only contains one module.  Looked good, but when I clicked on a link to load a different control, or even the same control, the container shows up again.

Anyone know how to not display the container on all user controls?  Something I need to add to the NavigateUrl function?

 
New Post 2/22/2008 1:55 PM
User is offline MH
14 posts
10th Ranked


Re: How do you programatically set Display Container to false? 

Not sure if this is what you need or not, but I know if you pass a navigateUrl like this, it'll remove the skin and container. Modify to suit. Note: The [G] is necessary for some reason. No idea why or what it does.

NavigateUrl(PortalSettings.ActiveTab.TabID, "RoomView", "SkinSrc=[G]" + DotNetNuke.UI.Skins.SkinInfo.RootSkin + "/_default/No Skin" + "&ContainerSrc=[G]" + DotNetNuke.UI.Skins.SkinInfo.RootContainer + "/_default/No Container")

 
New Post 2/22/2008 3:46 PM
User is offline Brad Bamford
81 posts
10th Ranked


Re: How do you programatically set Display Container to false? 

When you navigate to another view control in your module, the page actually loads up in the default Admin skin and container.

You can force it use of a different containor or skin by adding querystrings to your URL:

?SkinSrc=/Portals/_default/Skins/YOURSKINFOLDER/YOURSKINNAME
&ContainerSrc=/Portals/_default/Containers/YOURFCONTAINERFOLDER/CONTAINERNAME

It works, However, it makes for a really ugly URL


Hope this helps,

Brad

 

 

 
New Post 3/4/2008 11:14 AM
User is offline Brad Bamford
81 posts
10th Ranked


Re: How do you programatically set Display Container to false? 

 MH wrote Note: The [G] is necessary for some reason. No idea why or what it does.

"[G]" before the actual path tells Dotnetnuke that this is a GLOBAL skin and is stored in the Portals/_Default/ folder rather than the portal folder.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How do you programatically set Display Container to false?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP