© Robert E. Beasley 2020
R. E. BeasleyEssential ASP.NET Web Forms Developmenthttps://doi.org/10.1007/978-1-4842-5784-5_25

25. Ajax Programming

Robert E. Beasley1 
(1)
Franklin, IN, USA
 

25.1 Introduction

Ajax (Asynchronous JavaScript and XML) is a collection of special script-based classes. These classes enable the client and the server to interact in such a way that only a region of a page is re-created, re-formatted, sent back to the client, and re-rendered in the client’s browser. To understand how the Ajax classes work, we need to contrast the concepts of synchronous postbacks and full-page rendering with asynchronous postbacks and partial-page rendering .

A synchronous postback occurs when a page is sent to the server and processed (all of the ...

Get Essential ASP.NET Web Forms Development: Full Stack Programming with C#, SQL, Ajax, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.