1

I added a user control in the master page for a particular site definition.

All good however the problem occurs when I open the dialog to add new documents for example. The user control appears at the top of this dialog box as well.

This same top header is visible on all open dialog boxes at the top which obviously what i was going for.

How can I have the user header control only appear on main pages? (and not dialog windows?)

hmmm ideas?

1 Answer 1

1

Try wrapping the control in a container div with the class "s4-notdlg", this will prevent it from showing up in modal dialog windows. You can read more here.

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.