Installing/Configuring AjaxControlToolKit through NuGet

I see many questions has been asked regarding installation/configuration of latest version of AjaxControlToolKit in ASP.NET, Experts-Exchange etc., forums. So i thought of writing an blog post on this.

One of the best community tool set available for ASP.NET WebForms developers is AjaxControlToolKit. Microsoft is making sure that this Ajax control tool kit is updated frequently, to make developers task easier!

In this article, i will show you how to configure AjaxControlToolKit through NuGet. Believe me it’s pretty simple process and moreover it’s fast. It’s just avoid the downloading of the package, extracting it and copying it to the Visual Studio and configuring it etc.,

With NuGet, setting up the AjaxControlToolKit in Visual Studio development environment is never so easy.

NOTE: I’m explaining this article using Microsoft Visual Studio 2010 Professional, since most of the users are working in this IDE.

Let’s get our hands dirty….

1.  Let’s create a new ASP.NET Empty Web Site.



2.  We are done creating a empty website. Now we will configure AjaxControlToolKit through NuGet.

3.  Right click on the web site and select Manage NuGet Packages


4. It will invoke Manage NuGet packages dialog.


5.  Now search for “ajaxcontroltoolkit” keyword in the textbox on the right side top corner. It will list you the latest version of AjaxControlToolKit.


6.  Click on Install button to install the AjaxControlToolKit.


7.  Once it’s done, close this dialog.


8.  Now if you open the web.config file, you can see the AjaxControlToolKit already registered.


9. We are done with the setup. Add a ASP.NET web page, and we will test this by adding an control from AjaxControlToolKit.



NOTE: You should use Toolkit ScriptManager control, instead of Ajax ScriptManager controls, which you can observe in the above code!

10.  Now it’s time to test. I know, you are successful.

Through NuGet, Not only AjaxControlToolKit, there are many more community developed tools available, which i leave it for you explore.

Finally, NuGet made the developer task very easy!

Happy Web Programming…


14 thoughts on “Installing/Configuring AjaxControlToolKit through NuGet

  1. hi!,I like your writing very much! share we communicate more about your article on AOL? I need a specialist on this area to solve my problem. Maybe that’s you! Looking forward to see you.

  2. Hello,
    Today I installed AjaxControlToolkit 7.0725 for VS2010 using the Package Manager Console. This installed OK.
    Next I added a tab “Ajax Control Toolkit” in the VS 2010 Toolbox. Where do I Browse to get the Ajax Control items? Thanks, Randy

    1. I second this question. This write-up was very helpful getting ajaxcontroltoolkit added to my AJAX project in 2013, but I’d like to see and manipulate the controls via the toolbox. Does NuGet place these controls somewhere where the toolbox can reference them? Or does this require the full download from codeplex to add controls to the toolbox?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s