Click here to Skip to main content
15,904,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

can any one tell me about AJAX.
What is the main use of AJAX in asp.net.
is it Java Script based ????
Posted

Ajax is an acronym for "Asynchronous JavaScript and XML".

http://en.wikipedia.org/wiki/Ajax_(programming)

In Web/Asp.Net programming, in general concept of Ajax is to get/post data from/to Server using JavaScript or “Ajax Extension” controls.

In Asp.Net for “Server Controls”, we can easily apply Ajax using “Ajax Extension” controls like “UpdatePanel” and “ScripManager”.

On the other hand, what if we want to get/post data from/to Server using pure JavaScript. This is achievable using “XMLHttpRequest” object. You may have a look at my below Tip/Trick on this subject.[not an advertisement. :)]

Simplifying Asp.Net Core Ajax

With "Ajax Control Toolkit" Microsoft provides many "Ajax" based server controls. You may download it from below link.

http://www.asp.net/ajaxlibrary/act.ashx

Plenty of resources on Asp.Net Ajax you will get on below link.

http://www.asp.net/ajax
 
Share this answer
 
Comments
thatraja 9-Jun-12 7:10am    
Excellent, 5!
The Ajax Control Toolkit contains a rich set of controls that you can use to build highly responsive and interactive Ajax-enabled ASP.NET Web Forms applications. Follow the steps below to download and start using the Ajax Control Toolkit with Visual Studio:

The first step is to download the Ajax Control Toolkit. You can download the latest version of the Ajax Control Toolkit from CodePlex.

Click the Downloads tab at the CodePlex site to see the list of available Ajax Control Toolkit downloads. If you are using Visual Studio 2008 then you should pick the version of the Ajax Control Toolkit for .NET 3.5. If you are using Visual Studio 2010 then you can use either the .NET 4 or .NET 3.5 versions of the Ajax Control Toolkit.

Download the Binary version and not the Source version of the Ajax Control Toolkit. You should download the Source version of the Ajax Control Toolkit only when you are interested in extending the Ajax Control Toolkit.

After downloading the Ajax Control Toolkit, you need to unblock and extract the files. Right-click the compressed file and click the Unblock button.

Next, right-click the compressed file and select the Extract All menu option.

The next step is to add the Ajax Control Toolkit to the Visual Studio Toolbox. Follow these steps:

Launch Visual Studio and create a new ASP.NET Web Forms project or website. Open Default.aspx in the Visual Studio editor.
Create a new Toolbox tab by right-clicking the Toolbox and selecting Add Tab. Name the new tab Ajax Control Toolkit.
Right-click beneath the new tab and select the menu option Choose Items... Click the Browse button and browse to the folder where you extracted the Ajax Control Toolkit. Pick the AjaxControlToolkit.dll and click the OK button to close the Choose Toolbox Items dialog.
 
Share this answer
 
v2
Comments
kimberly wind 20-Apr-12 10:05am    
hey thanks for the reply .,Rich control means Look and feel or Functionalities ??
and also when we use AJAX JavaScript we are not able to use .do u know the reason

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900