Show alert message box from the Global.asax (on Application_Error event)

Posted by Albert on Stack Overflow See other posts from Stack Overflow or by Albert
Published on 2010-04-12T13:26:26Z Indexed on 2010/04/12 14:42 UTC
Read the original article Hit count: 626

Filed under:
|
|
|

Normally I just redirect to a custom error page in on the Application_Error event, but I have a specific error for which I'd like to display an alert message while the user is still on the page which triggers the error. How can I make this happen?

I'm open to a modalpopup or any other type of error message, I just want to ensure the user stays on the page where they encounter the error.

Thank for any ideas.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about .NET