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

后端 未结 8 2424
情深已故
情深已故 2021-02-15 07:35

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

8条回答
  •  青春惊慌失措
    2021-02-15 08:11

    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

提交回复
热议问题