1. Simple Configuration:
Add the following code to the <system. web> section of the original web. config file:
<HttpHandlers>
<Remove verb = "*" path = "*. asmx"/>
<Add verb = "*" path = "*. asmx "validate =" false "type =" System. web. script. services. scriptHandlerFactory, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "/>
<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 "/>
</HttpHandlers>
If you have installed the official installation package (including Beta1 and CTP), you only need to go to the following directory:
C: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 AJAX Extensions \ v1.0.61025
Find the two files:
Microsoft. Web. Extensions. dll
Microsoft. Web. Preview. dll
And put it in the/Bin of the website. It can be used wherever it is deployed.
2. If you add two DLL AjaxControlToolkit. dll System. Web. Extensions. dll, the configuration is:
<HttpHandlers>
<Remove verb = "*" path = "*. asmx"/>
<Add verb = "*" path = "*. asmx "validate =" false "type =" System. web. script. services. scriptHandlerFactory, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "/>
<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 "/>
</HttpHandlers>
<Pages>
<Controls>
<Add tagPrefix = "asp" namespace = "System. Web. UI" assembly = "System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35"/>
<Add tagPrefix = "web" namespace = "WebChart" assembly = "WebChart"/>
<Add tagPrefix = "web" namespace = "EeekSoft. Web" assembly = "EeekSoft. Web. PopupWin"/>
<Add tagPrefix = "ajax" namespace = "AjaxControlToolkit" assembly = "AjaxControlToolkit"/>
</Controls>
</Pages>
3. Allow the client to support the PageMethod method to call Web service
<HttpModules>
<Add name = "ScriptModule" type = "System. Web. Handlers. ScriptModule, System. Web. Extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35"/>
</HttpModules>