How to add ajaxcontroltoolkit to toolbox in Visual Studio 2012
Asked Answered
C

5

16

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?

Czar answered 6/3, 2013 at 22:3 Comment(2)
are you sure this is a MVC question vs webforms question?Funderburk
3 different ways to install Ajax Control ToolkitPoddy
M
39

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.

Margarettamargarette answered 23/4, 2013 at 14:41 Comment(2)
Just in case someone wonders where is the location of the AjaxControlToolkit.dll. In you solution folder (where the .sln file exists) you should find a folder called packages, inside this folder you will find AjaxControlToolkit.7.1213 (or some other version number). From the lib folder use the DLL that matches the project .Net framework version.Redshank
i followed the same steps and it gave me an error saying could not find any suitable components in AjaxToolKit.dllReilly
D
9

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.
Downturn answered 17/4, 2014 at 16:38 Comment(0)
P
4

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).

Parasitic answered 24/9, 2014 at 3:10 Comment(0)
E
0

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.

Eratosthenes answered 28/2, 2019 at 22:9 Comment(0)
C
-1

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..

Chemaram answered 24/7, 2015 at 5:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.