ASP.NET UpdatePanel Javascript Callback

后端 未结 2 1787
夕颜
夕颜 2021-01-12 14:46

I came across this issue recently and thought it was really helpful. My question was, how would you call a piece of javascript after an updatepanel loads via AJAX in ASP.NET

2条回答
  •  耶瑟儿~
    2021-01-12 15:38

    
    

    Essentially this is creating an instance of the PageRequestManager which handles all the UpdatePanel loading. Then ties the panelLoaded function to the pageLoaded event.

    I also found this article which explains this is much more detail: http://msdn.microsoft.com/en-us/magazine/cc163413.aspx

提交回复
热议问题