Export (0) Print
Expand All

SP.UI.ModalDialog.OpenPopUpPage(url, callback, width, height) Method

SharePoint 2010

Last modified: May 23, 2011

Applies to: SharePoint Foundation 2010

Displays a modal dialog with the specified URL, callback function, width, and height.

SP.UI.ModalDialog.OpenPopUpPage(url, callback, width, height);

url

Type: String

The URL of the page to be shown in the modal dialog.

callback

Type: function pointer

The callback function that runs when the modal dialog is closed.

width

Type: int

The width of the modal dialog.

height

Type: int

The height of the modal dialog.

This method opens the page with the specified URL in the modal dialog and sets the width and height of the modal dialog specified by the width and height parameters, respectively.

Show:
© 2014 Microsoft