asp.net - call javascript after updatepanel postback -


i put following javascript code inline doesn't trigger after updatepanel done postback:

function endrequesthandler(sender, args) { alert("this should work"); } sys.webforms.pagerequestmanager.getinstance().add_endrequest(endrequesthandler); 

any ideas?

thanks.

ok, nevermind, got it. if else runs problem, put sys.webforms..... line this:

$(document).ready( function () { sys.webforms....; } 

Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

java - where to store the user credentials in an enterprise application(EAI)? -

java - netbeans "Please wait - classpath scanning in progress..." -