ASP.NET AJAX: Firing an UpdatePanel after the page load is complete

后端 未结 7 1149
再見小時候
再見小時候 2021-02-15 07:52

I\'m sure this is easy but I can\'t figure it out:

I have an ASP.NET page with some UpdatePanels on it. I want the page to completely load with some \'Please w

7条回答
  •  花落未央
    2021-02-15 08:06

    From the very first question on this post, I think what the user is looking for is a message to be displayed to the user while the update panel loads. Just put an UpdateProgress control like the one below on your page just above your UpdatePanel control, and feel free to trigger an event in your UpdatePanel, put your backend code as usual, and whatever is contained inside the UpdateProgress control will load up while your UpdatePanel content is being processed in the backend.

    
      
        
    Please Wait...

    There is no need for any messy manual javascript stuff.

提交回复
热议问题