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

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

    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.

提交回复
热议问题