Using Elmah with jQuery?

I am using jQuery to call page methods for my AJAX calls using $ .Ajax. It works very well and it is very light. However, I noticed that when an exception is thrown from the .NET code, Elmah simply registers it as a β€œFile not found” exception or does not register anything at all, and does not register the actual exception that was thrown. Is there a way to get Elma to pick up these exceptions? Do I need to catch / return them? I'm sure this has something to do with error handling in the JavaScript file, but I don't know where to go from there.

+3
source share
1 answer

I am quite sure that if ELMAH does not register correctly in this senario without any modification.

Perhaps it is worth asking a question here.

link text

Atif Aziz usually answers questions quickly

+3
source

All Articles