Sunday, 19 October 2008

jQuery Ajax Dot Net 3

Release Notes

This is the most comprehensive release of ajaxDotNet. It includes new event handlers and other options that allow more flexibility over the server call. Very similar to the 2.1 release without considerations for backwards compatibility.

New Options

Event Handlers

beforeSend
Allows you to alter the XMLHttpRequest object before the call is made.
processData
Allows you to provide post processing rules to the response received from the server.
error
A more specific error handler.
complete
Fires after all other handlers.

Other Parameters

async
Allows the user to choose between synchronous and asynchronous.
username
User name used in basic HTTP authentication.
password
Password used in basic HTTP authentication
context
Passes an object to the success, error and complete event handlers

Removed Options

Event Handlers

other
Superseded by the error handler.

New Functions

globals
ajaxDotNet now supports global event handlers. Global event handlers fire irrespective of per call handlers.
defaults
Defaults for each of the options can be set using this function.

Twitter Updates