SP.UI.ModalDialog Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.UI.ModalDialog class.

Methods

Name

Description

close

Closes the most recently opened modal dialog with the specified dialog result.

commonModalDialogClose

Closes the most recently opened modal dialog with the specified dialog result and return value.

commonModalDialogOpen

Displays a modal dialog with the specified URL, options, callback function, and arguments.

ModalDialog

This member is reserved for internal use and is not intended to be used directly from your code.

OpenPopUpPage

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

RefreshPage

Refreshes the parent page of the modal dialog when the dialog is closed by clicking OK.

showModalDialog

Displays a modal dialog with specified dialog options.

ShowPopupDialog

Displays a modal dialog using the page at the specified URL.

showWaitScreenSize

Displays a wait screen dialog that has a Cancel button using the specified parameters.

showWaitScreenWithNoClose

Displays a wait screen dialog that does not have a Cancel button using the specified parameters.

Applies To

SP.UI.ModalDialog Class

See Also

Reference

SP.UI.ModalDialog Properties

SP.UI Namespace

Other Resources

SP.UI.ModalDialog Fields