I am using the following URL to display a popup: var xVersionUrl = xAppWebUrl + "/Lists/dlWerkinstructies/Forms/DispForm.aspx?ID=" + xItemId + "&VersionNo=" + versionId

When clicked on the link I put the URL in I get the following popup:

enter image description here

Is there a way that I can remove the red outlined block? Preferably by using a query string parameter to the URL, is that possible?

2 Answers 2


Try adding IsDlg=1 or isdlg=1

var xVersionUrl = xAppWebUrl +  "/Lists/dlWerkinstructies/Forms/DispForm.aspx?IsDlg=1&ID=" + xItemId + "&VersionNo=" + versionId

If you send the page IsDlg, SharePoint forces the size of the window and disables the scrolling. If you send isdlg, SharePoint does nothing with it except for hiding the CSS elements.


Append IsDlg=1 to your url string

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.