Reputation: 31
I wanna assign 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
Upvotes: 2
Views: 857
Reputation: 1038830
You could register the endRequest event:
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function(sender, args) {
alert('async request finished');
});
Upvotes: 1