0

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

0

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.

1
  • 1
    yes, this works! Commented Apr 21, 2015 at 14:35
1

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.