开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜