1> install Ajax ASPAJAXExtSetup. msi (download from http://ajax.asp.net)
2> install the Ajax template ASPAJAXSamples. msi
3> download the latest ajaxcontroltoolkit.
Http://www.codeplex.com/Release/ProjectReleases.aspx? ProjectName = AtlasControlToolkit
4> decompress the package to C: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 AJAX Extensions \ AjaxControlToolkit
5> open solution \ AjaxControlToolkit. sln to generate the TemplateVSI project.
6> copy
\ AjaxControlToolkit \ SampleWebSite \ Bin \ AjaxControlToolkit. dll
\ AjaxControlToolkit \ SampleWebSite \ Bin \ AjaxControlToolkit. dll
To \ AjaxControlToolkit \ Binaries \
7> Run \ AjaxControlToolkit \ TemplateVSI \ bin \ AjaxControlExtender. vsi Installation Template (select C #), only Web
8> right-click the Toolkit and choose add AJAX Toolkit from the shortcut menu. On the AJAX Toolkit tab, right-click an item and choose. NET Framework from the displayed dialog box.
Click Browse C: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 AJAX Extensions \ AjaxControlToolkit \ Binaries \ AjaxControlToolkit. dll
Configure the web. config component
Web. config is an XML document. Its root element is <configuration> <! -- Configure asp.net ajax webconfig ___ 1 --> <! -- This node must appear as the first <configuration> node --> <configSections> <sectionGroup name = "system. web. extensions "type =" System. web. configuration. systemWebExtensionsSectionGroup, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "> <sectionGroup name =" scripting "type =" System. web. configuration. scriptingSectionGroup, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "> <! -- If you want ASP.. net ajax applications can compress or cache client script files during runtime, define a new <section> as shown below in <sectionGroup name = "scripting> --> <section name =" scriptResourceHandler "type =" System. web. configuration. scriptingScriptResourceHandlerSection, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "requirePermission =" false "allowDefinition =" MachineToApplication "/> <sectionGroup name =" webService S "type =" System. web. configuration. scriptingWebServicesSectionGroup, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "> <section name =" jsonSerialization "type =" System. web. configuration. scriptingJsonSerializationSection, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "requirePermission =" false "allowDefinition =" Everywhere "/> <section name =" profileService "type =" System. web. configuration. scriptingProfileServiceSection, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = token "requirePermission =" false "allowDefinition =" MachineToApplication "/> <section name =" authenticationService "type =" System. web. configuration. scriptingAuthenticationServiceSection, System. web. extensions, Version = 1.0.61025.0, Culture = neutral, publicKeyToken = 31bf3856ad364e35 "requirePermission =" false "allowDefinition =" MachineToApplication "/> </sectionGroup> </configSections> <! -- Configure asp.net ajax webconfig ___ 2 --> <! -This node appears as a sub-node of <configuration> --> <system. web. extensions> <scripting> <webServices> </webServices> <! -- The following statement compresses the size of the client script library when the program runs in Release mode. If not, we should definitely add this HTTP module to improve network transmission speed --> <scriptResourceHandler enableCompression = "true" enableCaching = "true"/> </scripting> </system. web. extensions> <! -- Configure asp.net ajax webconfig ___ 3 --> <! -- In the <configuration> root element, <system. register ASP. net ajax server-side control prefix --> <pages> <controls> <add tagPrefix = "asp" namespace = "System. web. UI "assembly =" System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "/> <add tagPrefix =" asp "namespace =" Microsoft. web. preview. UI "assembly =" Microsoft. web. preview "/> <add tagPrefix =" asp "namespace =" Microsoft. web. preview. UI. controls "assembly = "Microsoft. web. preview "/> </controls> </pages> <compilation debug =" true "> <assemblies> <add assembly =" System. web. extensions, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31BF3856AD364E35 "/> <add assembly =" System. design, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = B03F5F7F11D50A3A "/> <add assembly =" System. web. extensions. design, Version = 1.0.61025.0, Culture = neutral, PublicKeyToken = 31BF38 56AD364E35 "/> </assemblies> <! -- Configure asp.net ajax webconfig ___ 4 --> <! -- Modify the <compilation> section to allow debugging and add necessary assembly for debugging --> <! -- The above Code also contains the <buildProviders> and the declaration of the *. asbx file. If the application does not require a remote Web Service bridge on the server side, you do not need to add this part of content in <buildProviders> --> <! -- The following section is newly added --> <buildProviders> <add extension = "*. asbx "type =" Microsoft. web. preview. services. bridgeBuildProvider "/> </buildProviders> </compilation> <! -- Configure asp.net ajax webconfig ___ 5 --> Add or modify the