jQuery ajax in ASP.NET with customErrors mode="On"

Posted by Adrian Magdas on Stack Overflow See other posts from Stack Overflow or by Adrian Magdas
Published on 2010-04-21T13:07:12Z Indexed on 2010/04/21 13:13 UTC
Read the original article Hit count: 291

Filed under:

Hi, any idea how to retrieve the original exception thrown on server side when doing
ajax calls with jQuery and using

customErrors mode="On"

in web.config.

If mode="Off" I can take the error using this function:

error: function(xhr, status, error) {
        var error = JSON.parse(xhr.responseText); 


© Stack Overflow or respective owner

Related posts about jquery-ajax

Related posts about ASP.NET