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

后端 未结 8 2407
情深已故
情深已故 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:10

    The ScriptManager.RegisterStartupScript allows a script to run on startup inside of an update panel. if you use the old ClientScript.RegisterStartupScript then the script you render will be outside the bounds of the udpate panel, and thus won't be executed during async page loads.

提交回复
热议问题