In this tutorial, we study how to add ajax control toolkit in Asp.Net Website Project.
For adding Ajax toolkit first you have install NuGet Package Manager from the below website-
http://nuget.org/
http://nuget.codeplex.com/
After installing NuGet Package Manager you can able to download packages from NuGet Website.
Open Visual Studio 2010 or letter version and Create Blank Asp.Net Website.
Right click solution of your project and click the Manage NuGet Packages. You can see below screen. Search for AjaxControlToolkit and click install button.
This step will install all require dll and files to use ajax control in your asp.Net website.
After installing Ajax Control Toolkit, you can see AjaxControlToolkit.dll will be added to your projects bin directory.
You can also see your web.config file following code will be added.
<pages>
<controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
Now, you can able to use ajax control in your website.
For adding ajax toolkit control just type "<ajaxToolkit:" (Note: Use tagPrefix name shown in your project web.config as you can see above code) , visual studio code intelligence will show you all ajax control as shown below.
Done!
0 comments:
Post a Comment