2

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..

4

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

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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