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  |  

  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Hide solpartmenu please help
Previous Previous
 
Next Next
New Post 5/8/2008 12:55 PM
Unresolved
User is offline ecardona
21 posts
10th Ranked


Hide solpartmenu please help 

Hi,

I have beed trying to prevent the solpartmenu for users other that host and admin with this code:

<div <%# IIF((UserController.GetCurrentUserInfo()).IsSuperUser,"","style='display:none;visibility:hidden;'") %>>

<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Display="Horizontal" UseRootBreadcrumbArrow="False" UseSubMenuBreadcrumbArrow="False" UseArrows="False" menuitemselcssclass="menuitemsel" rootmenuitembreadcrumbcssclass="rootmenuitembreadcrumb" rootmenuitemactivecssclass="menuitemactive"/>

</div>

I also tried with  <%= IIF but doesnt work, I have this error when you login:

"The Controls collection cannot be modified because the control contains code blocks"

Any idea how can I fix this please?

 Thanks in advance,

Ed

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Hide solpartmenu please help
 


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.

 


Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com

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