admin管理员组文章数量:1415100
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);
}
本文标签: cSPUIModalDialog (Please wait message)Stack Overflow
版权声明:本文标题:c# - SP.UI.ModalDialog (Please wait message) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745172387a2646055.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论