How to customize exception behavior when UpdatePanel throws an error ?

Customize exception behavior when UpdatePanel throws an error :

  1. Set AllowCustomErrorsRedirect = false on ScriptManager control to disable Custom Errors redirection.

  2. Handle OnAsyncPostBackError event on ScriptManager control to change script error message and perform other tasks required on error.

Leave a Reply