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

How can i open an existing sharepoint 2010 page (like for example EditForm.aspx) but without the master page (without the menus on top and the Links on the left) (exactly like if i open it with IsDlg=1, but i don't want it a dialogbox).

Thanks.

share|improve this question
add comment

4 Answers 4

You can set the master page to be a basic master page such as minimal.master instead of the v4.master page. (I think there is also one called basic.master or base.master for dialog boxes, although I couldn't find it!).

Normally the dialog box would use the normal v4.master and use CSS to hide the unwanted elements, which have the CSS class "s4-notdlg". So another way, if you want to use v4.master, is to make sure you have a CSS rule for s4-notdlg that makes it visibility:none.

share|improve this answer
add comment

Just append IsDlg=1 to your URL. The open in dialog is not controlled by the IsDlg=1 parameter.

To avoid opening the edit/view form of a list item in a dialog, you can also set the "Launch forms in a dialog" setting in the list settings -> advanced settings to "no".

share|improve this answer
add comment

Bender has the simplest solution. IsDlg controls just the formatting of the page, not the page's presentation in a dialog.

share|improve this answer
add comment

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.