Ajax Call (Asynchronous JavaScript and XML Call) 1. Ajax Call is used to refresh portion of a webpage without reloading whole page. 2. Ajax Calls are used to create fast web pages as they refreshes only a portion of web page instead of reloading a whole page. Example of Ajax Call in ASP.NET-: Step 1-: Create an ASP.NET web page and name it as AjaxCallExample.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AjaxCallExample.aspx.cs" Inherits="AjaxCall.AjaxCallExample" %>
Enter Name
Explanation - 1. Under head section we have to include script for allowing Jquery's syntax. 2.