Assign javascript CallBack function to a UpdatePanel
I wanna a开发者_Python百科ssign a JavaScript CallBack function to an UpdatePanel which will be gets called when the UpdatePanel finishes its tasks. After, the UpdatePanel will be sending a string as a result. This JavaScript CallBack function will have to process this resulting string.
Please help me out to achieve this.
Regards, Akif
You could register the endRequest event:
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function(sender, args) {
alert('async request finished');
});
精彩评论