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

0

1 Answer 1

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

1
  • 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, 2011 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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