|
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 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 |  | 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. |  | In Visual Studio 2008 right click on the Toolbox then "Add Tab".
|  | Name the new tab. I chose "AJAX Toolkit". |  | Right click in the new tab area and click on "Choose 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)
|  | The 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.
|
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..
can u send me a website name where i can learn how to work on ajax.
thnx a lot
hi this natraj ankhe,
this article is excellent...
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
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.
Thanks