Link to home
Start Free TrialLog in
Avatar of Russ Suter
Russ Suter

asked on

Catch and handle server error in AJAX

When using ASP.NET AJAX and making a server call sometimes a server method will throw an exception. In IE you can see the results of this error (if debugging is enabled) as follows:

 User generated image

This is fine for debugging purposes but in a production environment I'd like to be able to handle it more gracefully. Is there a way to catch this error in the AJAX callback somehow?
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial