user1186651
user1186651

Reputation: 865

How to add ajaxcontroltoolkit to toolbox in Visual Studio 2012

I have used the ajaxtoolkit with .NET 4 and Visual Studio 2010, and I was able to add a new tab to the toolbox and add the ajaxtoolkit controls to the toolbox. How do I do this in Visual Studio 2012?

I have added the ajaxtoolkit with NuGet, but I would like to see the controls in the toolbox, so I can drag the controls in. How is this done?

Upvotes: 16

Views: 86159

Answers (5)

Sam Hobbs
Sam Hobbs

Reputation: 2881

The current version of the AJAX Control Toolkit does everything to install itself into the VS toolbox. First exit out of VS (it will tell you to exit if you don't) then click the Download button in AJAX Control Toolkit.

Upvotes: 0

Sunil Acharya
Sunil Acharya

Reputation: 1183

To install Ajax Control Toolkit, run the following command in the Package Manager Console

PM> Install-Package AjaxControlToolkit

this is install the Ajaxtoolkit in your current project..

Upvotes: -1

user3546149
user3546149

Reputation: 101

I just installed it in Visual Studio 2013. Here's a summary of the process:

  1. Click on solution and Manage Nuget Packages
  2. Filter for AJAX and select the Ajax Control Toolkit
  3. After NuGet installs this, it won't be in the toolbox!
  4. Create a new toolbox group for AJAX CONTROL TOOLKIT
  5. Add Items
  6. Browse
  7. Navigate to the toolkit URL. Project is Webapplication1 in the c:\temp folder so the toolkit was in: C:\temp\WebApplication1\packages\AjaxControlToolkit.7.1213\lib\45 (because I am using framework 4.5)
  8. Click OK and the toolbox should be populated.

Upvotes: 9

SkeetJon
SkeetJon

Reputation: 1491

It's located in the packages folder created by Visual Studio 2012 after you use NuGet Package Manager to download it.

Create a tab in Visual Studio (you can name it Ajax Toolkit).

Enter image description here

Right click on it and select: Choose Items..

Enter image description here

Click Browse and navigate to the packages folder that Visual Studio 2012 creates with your source. Something like this: ..\packages\AjaxControlToolkit.7.0123\lib\40\AjaxControlToolkit.dll

Enter image description here

enter image description here

Select AjaxControlToolKit.

Upvotes: 39

user3471026
user3471026

Reputation: 41

Slight sort cut for finding the dll folder, for example step 7 in the instruction set given by user3546149.

(Good job, I would up vote your answer but no reputation).

AjaxControlTookkit should show under References for the project. Right click it and select Properties. The Path property is the path to the AjaxControlToolkit.dll. Copy that Path property.Then for step 7 paste the Path property directly in the search box. Saves eye strain and clickity click oops syndrome.

(Works for VS 2013 also, maybe others).

Upvotes: 4

Related Questions