I am using an SP.UI.ModalDialog in my code in order to open a modal dialogbox in a sharepoint 2010 application.
Wanted to know how to display the message "please wait while the content loads" while the content is loading instead of showing a blank screen in the modal window (just like sharepoint does).
I am using an SP.UI.ModalDialog in my code in order to open a modal dialogbox in a sharepoint 2010 application.
Wanted to know how to display the message "please wait while the content loads" while the content is loading instead of showing a blank screen in the modal window (just like sharepoint does).
Share Improve this question edited Dec 8, 2010 at 18:37 Marcel Korpel 21.8k6 gold badges62 silver badges80 bronze badges asked Nov 30, 2010 at 14:30 Zee99Zee99 1,2342 gold badges25 silver badges46 bronze badges1 Answer
Reset to default 6Remove width and height parameters. I had same problem and removing those solved it.
Here's the function that I use to open modal dialogs:
function OpenModalDialog(urlToOpen)
{
var options = {
url: urlToOpen ,
allowMaximize: false,
showClose: true,
dialogReturnValueCallback: CloseCallback
};
SP.UI.ModalDialog.showModalDialog(options);
}
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745172388a4615006.html
评论列表(0条)