Follow these steps to install ASP.NET AJAX.
To install Microsoft ASP.NET AJAX
1. Make sure that you are logged in with an account that has Administrator rights.
If your account does not have Administrator rights, the installation process displays the error "The system administrator has set policies to prevent this installation."
2. Uninstall any earlier versions of ASP.NET AJAX. If the installation process finds an earlier version on your computer, it will stop.
You can remove earlier versions with the Add or Remove Programs application in Control Panel.
3. Download the ASPAJAXExtSetup.msi installation package from the ASP.NET AJAX Downloads Web site.
4. To install ASP.NET AJAX from the Windows interface, double-click ASPAJAXExtSetup.msi in Windows Explorer.
By default, the .msi file is installed in the following location:
5. To install ASP.NET AJAX from the command line, execute the following command at a command prompt:
msiexec /i ASPAJAXExtSetup.msi [/q] [/log <log file name>] [INSTALLDIR=<installation path>]
Specify the /q option to perform the installation without user prompts. You can optionally provide an installation path and a file name for logging. If you do not provide an installation path, the default installation path is used.
6. If you want to add the ASP.NET AJAX Control Toolkit, download and install it from ASP.NET AJAX Control Toolkit Web site.
To install AJAX Control Toolkit, first of all download it from the links provided in the previous article ASP.Net AJAX Control Toolkit. Now after downloading the zip file, follow these steps:
1. Create a folder AJAX Control Toolkit at path C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions or the drive where you have installed the Windows on PC.
2. Then extract the files of downloaded Control Toolkit .zip inside new created folder.
3. You will get the following folders and files from the extracted items:
o AjaxControlExtender
o AjaxControlToolkit
o Binaries
o SampleWebSite
o TemplateVSI
o ToolkitTests
o AjaxControlToolkit.sln [Visual Studio Solution file]
4. Double click on AjaxControlToolkit.sln solution file to open it in Visual Studio 2005. It will show a security warning with two project load options:
o Load project for browsing
o Load project normally
5. Select load project normally and click ok.
6. After loading the solution it will display AJAXControlToolkit, SampleWebSite, ToolKitTests, TemplateVSI in the solution explorer.
Right click on TemplateVSI and click build. After successful compile and build go to the path X: or C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\TemplateVSI\bin
At this path you will get the fresh build of AjaxControlExtender.vsi
7. Next Right click on SampleWebSite in the solution explorer and Build Web Site to get the fresh copy of AjaxControlToolkit.dll.
You will get the fresh AjaxControlToolkit.dll at :
X: or C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\Bin
Note: You can see all the Control Toolkit components included in this framework by right clicking on above SampleWebSite in solution explorer --> select view in browser. It will show the sample web site showing the demo of all AJAX control toolkit components.
8. Now you are ready to add the Control Toolkit in your Visual Studio 2005.
First of all go to TemplateVSI bin folder discussed in step 6 and run AjaxControlExtender.vsi. This installer will install the ASP.Net web template that will enable you to create AJAX Control Toolkit Web Site.
9. After installing AjaxControlExtender.vsi, open the Visual Studio 2005 and go for New Web Site, there you will see a new My Template item as AJAX Control Toolkit Web Site, select it and create a new website.
How to include AJAX Control ToolKit Components in Toolbox
It's also simple to add Toolkit on Visual Studio Toolbox. In the above new AJAX Control Toolkit Web Site, move your mouse on Controls Toolbox at right side and create a new Tab with name AJAX Toolkit. Then right click under the AJAX Toolkit tab and select choose items, this will open Choose Toolbox Items dialog box. Click on browse button at bottom and select the AJAXControlToolkit.dll file at this path: X: or C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\Bin
It will populate the AJAX controls into the AJAX Toolkit tab.
--By--
கண்ணன்.மா.கா
This comment has been removed by a blog administrator.
ReplyDelete