What event would I use to intercept and handle all runtime errors in a webform page?
Also how would I know what exception was intercepted if I used the property e. ?
Thank you!!! <3
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 you just want to do it in a single page, you would override the
Page_Errormethod, just like you doPage_Load.If you want to do it for your entire application, and I think you might, you’ll need to change your
Global.asax: