What's the Microsoft Ajax equivalent to jquery.ajaxSetup() or .ajaxError()?
Posted
by Seth Petry-Johnson
on Stack Overflow
See other posts from Stack Overflow
or by Seth Petry-Johnson
Published on 2010-05-04T20:16:17Z
Indexed on
2010/05/10
10:34 UTC
Read the original article
Hit count: 232
I have an ASP.NET MVC site that uses both Microsoft Ajax [Ajax.BeginForm()
] and jQuery to make asynchronous requests. I want to configure both frameworks such that a generic error handler is automatically attached if the developer does not explicitly specify a failure callback.
In jQuery I can accomplish this with either .ajaxSetup() or .ajaxError(). What is the equivalent in the Microsoft Ajax client library? I'm fairly sure it's something in the Sys
object but I can't find it...
© Stack Overflow or respective owner