Share via


Tip#62: Did you know… How to add Ajax Control Toolkit to the toolbox?

Steps to add Ajax Control Toolkit for Framework 3.5 SP1
Steps to add Ajax Control Toolkit for Framework 2.0

Ajax Control Toolkit for Framework 3.5 SP1

Following are the steps to add Ajax Control Toolkit to the toolbox for ASP.NET 3.5 webs in Visual Studio 2008 SP1

  1. Download Ajax Control toolkit from here (you can download AjaxControlToolkit-Framework3.5Sp1-dllonly.zip this would contain the dll only). 

  2. Extract the content of the zip file downloaded in steps 2 above.

  3. Launch Visual Studio 2008

  4. Create new (or open an existing) 2.0 Web Application Project or Website.

  5. Right click Toolbox and click on Add Tab. Name the new tab ACT 3.0 or anything you wish to call it.

  6. Right click toolbox under the ACT 3.0 tab added in the above step and click choose items

     image

  7. Click Browse and browse to AjaxControlToolkitBinary\AjaxControlToolkit.dll extracted in step 3.

    image

  8. Click OK

  9. And the tab in the toolbox will be populated with the ACT controls. You can read more about the recently added new controls to the toolkit May 2009 release at the ajaxcontroltoolkit codeplex site.
    image

 

Ajax Control Toolkit for Framework 2.0

There might be a requirement to add the toolkit for legacy ASP.Net 2.0 applications.

Following are the steps to add Ajax Control Toolkit to the toolbox in Visual Studio 2008 SP1 for ASP.NET 2.0 webs

  1. Download and install ASP.NET Ajax Extensions 1.0 from here.
    ASP.NET AJAX 1.0 is a set of technologies to add AJAX  support to ASP.NET 2.0

  2. Download Ajax Control toolkit version 1.0.20229 from here (this would download AjaxControlToolkit-nosource.zip). More details about the toolkit can be found at ajaxcontroltoolkit codeplex site here.

  3. Extract the content of the zip file downloaded in steps 2 above or extract the AjaxControlToolkit.dll from AjaxControlToolkit-NoSource.zip\SampleWebSite\Bin.

  4. Launch Visual Studio 2008

  5. Create new (or open an existing) 2.0 Web Application Project or Website.

  6. You will notice Ajax extensions tab is added to the toolbox (this is due to Step 1 installed the Ajax extensions for a 2.0 website)

    image

  7. Right click Toolbox and click on Add Tab. Name the new tab ACT 1.0.

  8. Right click toolbox under the ACT 1.0 tab added in the above step and click choose items

     image

  9. Click Browse and browse to the AjaxControlToolkit.dll extracted in step 3. (If you have extracted the whole zip file you would find the dll in SampleWebSite\Bin\ )

    image

  10. Click OK

  11. And the tab in the toolbox will be populated with the ACT controls.
      image

More about Ajax Control toolkit can be found at https://ajaxcontroltoolkit.codeplex.com/

 

Deepak Verma
SDET | Visual Web Developer

Comments

  • Anonymous
    May 16, 2009
    PingBack from http://asp-net-hosting.simplynetdev.com/tip62-did-you-know%e2%80%a6-how-to-add-ajax-control-toolkit-to-the-toolbox/

  • Anonymous
    May 16, 2009
    Steps to add Ajax Control Toolkit for Framework 3.5 SP1 Steps to add Ajax Control Toolkit for Framework

  • Anonymous
    May 16, 2009
    Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Anonymous
    May 17, 2009
    Interesting Finds: May 17, 2009

  • Anonymous
    May 17, 2009
    Very nice post for the beginner.s Thanks, Thani

  • Anonymous
    May 18, 2009
    nice for the beginners, but question...why does it not stay in the toolbox for other projects? If I start another ajax project a week or so later I have to manually add this stuff again.  I want it to become part of the default toolbox template.

  • Anonymous
    May 18, 2009
    Or you can just drag the DLL from an explorer window to the new tab.  I HAVE to do it this way, because when I right-click choose items, VS2008TSE crashes. While I'm at it... I have about 3 copies of every other control in my toolbox.  Driving me batty.

  • Anonymous
    June 18, 2009
    Following steps highlight how a Visual Studio 2005 Web application project can be migrated to Visual

  • Anonymous
    June 18, 2009
    Following steps highlight how a Visual Studio 2005 Web application project can be migrated to Visual

  • Anonymous
    September 18, 2009
    Ajax control toolkit tab deleted from VS 2005 toolbox After 1 day of adding it to toolbox.why? again i have to add it to toolbox. I need help Thanks

  • Anonymous
    October 12, 2010
    For those who something like "AjaxControlToolkit.dll ist not a valid .Net module" while trying to install the Controls in the Toolbox: if you have Panda Antivirus installed, this could be the culprit. I had to deinstall it from my machine to get the controls in the Toolbox, then to reinstall the Antivirus