c# - SP.UI.ModalDialog (Please wait message) - Stack Overflow

I am using an SP.UI.ModalDialog in my code in order to open a modal dialogbox in a sharepoint 2010 appl

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 badges
Add a ment  | 

1 Answer 1

Reset to default 6

Remove 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

相关推荐

  • c# - SP.UI.ModalDialog (Please wait message) - Stack Overflow

    I am using an SP.UI.ModalDialog in my code in order to open a modal dialogbox in a sharepoint 2010 appl

    8小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信