- Install the Ajax Control Toolkit as described in: http://www.asp.net/ajaxlibrary/act.ashx
- Modify the web.config by adding the entries below: (all are case sensitive)
- <add assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/> Goes between <assemblies></assemblies> tag.
- <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/> Goes between <controls></controls> tag.
- If you’ve installed some other version of the tool kit then make sure to replace a value of the Version attribute of both entries above.
- To get the version just right click on the AjaxControlToolkit.dll and get the value of Assembly Version.
- Now on the .aspx page include the "Ajax Control" for example "Tab Container" as follow:
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" Width="316px"> </ajaxToolkit:TabContainer>
Wednesday, 1 February 2012
ASP.NET: Configure AjaxControlToolKit in web.config file
Subscribe to:
Posts (Atom)