ASP.NET Web API      Interview Questions         HTML 5                               jQuery                              ASP.NET MVC framework

Wednesday, November 28, 2012

How to register assembly for ASP.NET AjaxControlToolkit?

In order to register assembly for AjaxControlToolkit, we need to follow few basic steps.

1. First of all, download and install AjaxControlToolkit.
    Please follow the link to download @ http://www.asp.net/ajaxlibrary/Download.ashx
    For Installation, @ http://www.asp.net/ajaxlibrary/act.ashx

2. Make the following updates in web.config file.

    i) Under assemblies tag, add following AjaxControlToolkit assembly
         <add assembly="AjaxControlToolkit, Version=3.5.60919.0, Culture=neutral,
                PublicKeyToken=28f01b0e84b6d53e"/>

    ii) Under controls tag, add following
         <add tagPrefix="aspext" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, 
            Version=3.5.60919.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

    Note: Please make sure to change the AjaxControlToolkit version in above entries.

3. Now simply place the toolkit controls on your pages in much the same way we normally place
    other web controls.
    <aspext:DropDownExtender ID="popupdropdown" runat="server"
            DropDownControlID="pnlGrid" TargetControlID="txtSuggestedAppointment">
     </aspext:DropDownExtender>


In this simple tutorial, I register AjaxControlToolkit to an asp.net application but hopefully it will work for registering any control library to your asp.net applications.



Be social and share with others via:



Related Web Development Articles:

By Imran Abdul Ghani
Software Developer (Senior)
United Arab Emirates
Imran Abdul Ghani is working as Software Developer(Senior) with extensive knowledge in Web development technologies especially C#, ASP.NET, MVC, WCF, Web API, ADO.NET Entity Framework, jQuery etc. He has several years of experience in designing/developing enterprise level applications. He is Microsoft Certified Solution Developer for .NET (MCSD.NET) since 2005. You can reach his blogging at www.webdevelopmenthelp.net & www.topwcftutorials.net.

No comments:

Post a Comment