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

后端 未结 7 1131
再見小時候
再見小時候 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:21

    Have a look at ScriptManager.RegisterStartupScript

    The idea is that you register a script to run on start up (I believe once the page has loaded). Your script should call a function that causes a post back through your UpdatePanel

提交回复
热议问题