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

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);

Parameters

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.

Applies To

SP.UI.ModalDialog Class

Remarks

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.

See Also

Reference

SP.UI.ModalDialog Methods

SP.UI.ModalDialog Properties

SP.UI Namespace