1. First download asp.net ajax from ajax.asp.net
Http://www.asp.net/ajax/downloads/
2. Configure web. config:
In the httphandlers section under system. web, add:
<Add verb = "GET, HEAD" path = "ScriptResource. axd "type =" System. web. handlers. scriptResourceHandler, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "validate =" false "/>
In the httpModules section under system. web, add:
<Add name = "ScriptModule" type = "System. Web. Handlers. ScriptModule, System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35"/>
[This section can be left blank, so you need to manually add the scriptmanager control in the program. If this section is added, we can use DotNetNuke. Framework. AJAX to operate it.]
3. Introduce ScriptManager and UpdatePanel on the page to start the ajax journey
Example from the book:
ASPAjax.zip