开发者

Assign javascript CallBack function to a UpdatePanel

开发者 https://www.devze.com 2023-01-06 12:42 出处:网络
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

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');
});
0

精彩评论

暂无评论...
验证码 换一张
取 消