In the ajax.cs class, I am calling methods from the javascript side. To register this on the default.aspx page load, I did the following:
Ajax.Utility.RegisterTypeForAjax(typeof(ajax));
Occasionally, some methods take a long time to execute. In such cases, I want to be able to abort the call. How can I do this?
When calling the method from JavaScript, it looks like this:
ajax.testMethod()