Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have overridden the GlobalNavigation delegate control and have been very pleased with the results. Now I would like to remove my global navigation from application pages that display in iframes (check permissions form, new site form, etc...).

I do not want to exclude all pages in the layouts folder though because I want my global navigation to display on the site settings page, osssearchresults.aspx, etc..

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Check out this article from Randy Drisgill. It's exactly what you need. Add the s4-notdlg css class to each div you want to hide in dialogs.

http://blog.drisgill.com/2009/11/sp2010-branding-tip-2-custom-master.html

share|improve this answer
    
That's actually awesome, I need to do exactly this in something I'm working on (though it's not a delegate control, I need the same behaviour). –  James Love Jun 14 '11 at 18:06
    
Great resource! Thanks! –  trgraglia Apr 5 '12 at 11:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.