ASP.NET UpdatePanel Javascript Callback

后端 未结 2 1788
夕颜
夕颜 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:34

    The linked solution did not work for me. I had to:

    1. Add the following tag to my pages

    2. Create a javascript file, move the initialization code to the javascript file, then add a in my section.

    No external browser definition files. Works on VS Studio Express 2013 for Web on Windows 7 Enterprise and on 2 live Windows 2003 Servers.

提交回复
热议问题