I am using Telerik ajax controls in VS2010 asp.net web project.
I am only targetting IE v8 browser.
When I encounter server side code exception, I get an error dialog box “There was an error in the call back.”
When I click okay, nothing happens at the server side and code stops executing.
I exactly know where the error is.. I just want it to bubble up to Global.asax Application_Error.
In this web application, there is no try catch exception handling any where. All the exception bubble up to Application_Error in global.asax.
In this specific case, how can I bubble up the exception to Global.asax?
The following post accurately describe what I am trying to achieve. Back in 2009 it was not possible.
Is it possible now?
Please help.
Thanks
As a part of an ajax request you don’t necessarily get your error bubbled up to the global asax. your client script sends a request then you have an error in the server and that’s sent back to the client, a failure or a generic failure message). Server side (given your ajax request reached the server side) . You can still trap your error, but that’s about it. To make things more difficult, as your are using a third part control, you don’t even know if the exception is really raised.
checklist