i’m trying to intercept ajax requests with jquery, to display a waiting message like with using plugin BlockUI, but how can i intercept requests sended by the UpdatePanel provided from asp.net framework, is some way to take the trigger?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the beginRequest and endRequest client side events of the PageRequestManager to display a “please wait” UI.
Sys.WebForms.PageRequestManager.instance.add_beginRequest(beginRequestHandler)Sys.WebForms.PageRequestManager.instance.add_endRequest(endRequestHandler)See here for more information. There are examples for each event.