If you want to add Microsoft ASP.NET 2.0 AJAX Extensions 1.0 to an existing website…
First, install the ASP.NET AJAX 1.0 Extensions: ASP.NET 2.0 AJAX Extensions 1.0
Next, add some stuff to the web.config file:
In the system.web section add the following line:
This will save you having to have the following directive at the top of each page:
<%@ Register Assembly=“System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”
Namespace=“System.Web.UI” TagPrefix=“asp” %>
If you find you are getting the nasty “‘Sys’ is undefined error on your pages, putting the following into the System.Web section will fix this:
Thats it! All you should need to do now is just drop a script manager and update panel on the page and throw the controls you want to AJAX-enable in them and you are locked and loaded.
Thanks to Darryl Burling for the tip!