SP.UI.ModalDialog.showWaitScreenSize(title, message, callbackFunc, height, width) Method

SharePoint 2010

Last modified: May 23, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To

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

var value = SP.UI.ModalDialog.showWaitScreenSize(title, message, callbackFunc, height, width);


Type: String

The title of the wait screen dialog.


Type: String

The message that is shown in the wait screen dialog.


Type: function pointer

The callback function that runs when the wait screen dialog is closed.


Type: int

The height of the wait screen dialog.


Type: int

The width of the wait screen dialog.

Type: SP.UI.ModalDialog

A modal dialog with the specified parameters.

This method displays a wait screen dialog that can be closed manually. The callback function specified by the callbackFunc parameter will run when the modal dialog closes.