Is there some way I can show custom exception messages as an alert in my jQuery AJAX error message?
For example, if I want to throw an exception on the server side v
Make sure you're setting Response.StatusCode to something other than 200. Write your exception's message using Response.Write, then use...
Response.StatusCode
Response.Write
xhr.responseText
..in your javascript.