Home Work ASP.NET Installing the AJAX Control Toolkit in Visual Studio 2008
Installing the AJAX Control Toolkit in Visual Studio 2008 PDF Print E-mail
Work - ASP.NET
Written by mbrock   
Thursday, 15 May 2008 21:19

ASP.NET AJAX is a free framework for quickly creating efficient and interactive Web applications that work across all popular browsers. ASP.NET AJAX is built-into ASP.NET 3.5. It is also available as a separate download for ASP.NET 2.0. Check out the ASP.NET site for more info on ASP.NET and AJAX. If you're new to ASP.NET and Visual Studio, it may be a little confusing to get the AJAX Control Toolkit installed and working. So here is how to add the AJAX Control Toolkit to Visual Studio 2008.

 

Download the current release from codeplexDownload the newest AJAX Control Toolkit for ASP.NET 3.5 from www.codeplex.com. Accept the terms and download

 

 

 

Extract the files from the .zip file into C:\Program Files\AJAX Control Toolkit (or to the directory of your choice)

 

 

 

Copy all of the binaries from the C:\Program Files\AJAX Control Toolkit\SampleWebSite\bin directory into the C:\Program Files\AJAX Control Toolkit\AJAX ControlToolkit\Binaries directory
 AJAX Extensions

Create or open a web site in Visual Studio 2008 - the web site will just be used to help install the toolkit.

You should see the Ajax Extensions panel already there... There is no panel for the AJAX Control Toolkit.

 Add a new tab to the toolbox

 

In Visual Studio 2008 right click on the Toolbox then "Add Tab".

 Name the tab

 

Name the new tab. I chose "AJAX Toolkit".

 choose items

 

Right click in the new tab area and click on "Choose Items..."

 ajaxcontroltoolkit items

 

Browse to the C:\Program Files\AJAX Control Toolkit\AJAX ControlToolkit\Binaries directory and select AJAXControlToolkit.dll

You should now see several AJAX Control Toolkit items in the Choose Toolbox Items window. Click OK and they will appear in your VS 2008 Toolbox.

NOTE:
On one machine I was installing the AJAX control toolkit on, this step failed with an error about System.Web.Extensions... the AJAX DLL wanted another version of System.Web.Extensions in the GAC

I downloaded and installed the ASP.NET AJAX 1.0 setup msi from Microsoft (ASPAJAXExtSetup.msi)

After the install the correct version of System.Web.Extensions appeared in the GAC
(%System Root%/Assemblies)

 ajax itemsThe AJAX Control Toolkit tab should now have several items listed under it.
  

 
Note that the AJAX Toolkit only works on items in an AJAX Extension UpdatePanel. And in order to use the UpdatePanel, a ScriptManager must appear before the UpdatePanel definition.

 
Comments (12)
error with ajax control toolkit
12 Monday, 30 August 2010 23:55
sanindra kumar sunny
hello sir,
My name is sanindra kumar sunny and i am .NET Developer for past 3 months.Right know i am working on a web application,and i felt that i should use Ajax control tool kit.I have download the kit from http://ajaxcontroltoolkit.codeplex.com link,I installed this kit according to your guide mentioned in this site.When i am using this kit in my application some of the controls are not coming on the surface of aspx page in designer view.If switch to source view i am able to take that controls on aspx surface.Problems come when i run the application i get error like "targetcontrolID is not valid".i have also add scriptmanager in prior to adding all ajax controls.sir Please help me out i need to use ajaxcontrol tool it in my application..
add toolkit
11 Friday, 11 June 2010 21:43
sandeep sharma
really thanks
can u send me a website name where i can learn how to work on ajax.
Thanks for help.
10 Saturday, 15 May 2010 16:48
Raju
article is excellent
thnx
9 Friday, 05 March 2010 11:04
heitu
i get a proper way to add ajax control toolkit to the visual studio 2008,i was trying to solve it since last two days of time but suddenly i found this article n i got the way.

thnx a lot
thanks : great help to add ajax controls
8 Monday, 01 February 2010 02:02
natraj
thanks : great help to add ajax controls

hi this natraj ankhe,

this article is excellent...
Thanks so much
7 Tuesday, 15 September 2009 06:39
Helly
Thank you, thank you! With a completely clean install of 2008 on a newly rebuilt machine I had much trouble with the Web.Extensions error. I tried so many things with no luck, your clear and well written article and running the Ajax 1.0 setup did the trick!
Thank you
6 Friday, 31 October 2008 05:51
Michael
very nice. Thank you
Thanks for the easy instructions...
5 Friday, 26 September 2008 00:05
Yougotiger
Much easier than all the instrucitons you can find elsewhere, I appreciate your post. I did find the following that may make it a little easier...
1. Instaead of adding a reference and waiting for the dialog to come up, drag and drop the dll into your toolbox into your new tab, the controls will be added more quickly and easily.
2. If you drag it straight out of the BIN directory in the sample site, when you run your app, you'll get all the other language dll's to go with it. If you don't want them, copy the english files out to a new directory and drag and drop from there instead.

Thanks again.
Thank You
4 Thursday, 04 September 2008 11:25
Marshall
Your Ajax Control Tool kit installation instructions surpass that of Microsofts instructions.

Thank You
controls not showing up
3 Thursday, 14 August 2008 15:33
Jared Shane
I have the items added in the .NET tab when I select add items. They have the checkbox added to them. When I click ok, the controls are not added to the AJAX Control Toolkit.

I also do not have a AJAX Extensions tab. I followed everythign step-by step and have had no luck.

Any suggestions?

**********
mbrock>> The AJAX Extensions tab should be installed as a part of the Visual Studio 2008 installation.
Thanx for help
2 Wednesday, 13 August 2008 10:41
Akarsh (Micky)
It's really a helpful article. Thanks for help.
Very Good
1 Tuesday, 08 July 2008 10:06
Seo Freelance India
This is a very Good Article.. It helped me alot, i mas slight confused, but it really helped me. I added Ajax Tool Kit Control.

Thanks

Add your comment

Your name:
Your email:
Your website:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
mbrock.com
This site, it's contents, and "The Original Web Empire"
Copyright © 1999 - 2010 mbrock.com. All Rights Reserved.