The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
Ajax Dot Net 3.0.0
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.
