How to use SharePoint Loading Message Box?
For e.g.
<asp:Button ID="btnTest" runat="server" Text="Test" Width="75px" OnClientClick="javascript:SP.UI.ModalDialog.showWaitScreenWithNoClose
('Please
Wait', 'Please wait as this may take a few minutes...', 76, 330);" />
You need to add SP.UI.ModalDialog.showWaitScreenWithNoClose
with parameters which you need to supply.
Below dialog will get displayed
Parameters to be
passed.
SP.UI.ModalDialog.showWaitScreenWithNoClose (Title, Message , Height , Width)
Title - Title of the dialog box (e.g. Please Wait).
Message – Message to be passed inside the dialog box (e.g.
Please wait this may take few minutes…).
Height – Height of the dialog box (integer value e.g. 76).
Width – Width of the dialog box (integer value e.g. 330).

Great post dear. I have spent two costly hours for this solution.
ReplyDelete