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


1 Answer 1


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.


  • 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
    Commented Jun 14, 2011 at 18:06

Your Answer

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

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