how could I get the ID of the control that caused the postback in the PageRequestManager endRequest event?
I looked at EndRequestEventArgs with Firebug but could not find such property. I am using .NET 4. Thank you.
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.
If there is no “postback control ID” property in the “endRequest” eventArgs, it is possible to capture the required data within the “beginRequest” eventArgs and store it via temporary global variable.
Take a look at the “Example” of the “Sys.WebForms.PageRequestManager beginRequest Event” MSDN topic to learn more on how to capture “postback control”.