Introduction: Ajax Control in ASP.NET
In this post, we will learn about Ajax Control in ASP.NET
In my previous posts I have explained various topics like AJAX Basics, Optional Arguments In C#, difference between Stack and Heap memory in C#, Difference Between Class And Structure, ASP.NET Core, C# static constructor, Nullables in C#, Collections in C#SortedSet in C#.Net, Stack in C#, Queue in C#.Net, LinkedList in C#.Net.
It has several ajax control which are shown in below image and also explained later in the article.
1. The ScriptManager Control
The ScriptManager control is the most important control it must be required on the page for other ajax controls to work.This control takes care of the client-side script for all the server side controls.
2. The UpdatePanel Control
This control is a container control.It acts as a container for the other child controls and does not have its own visual interface.When any control is placed inside it, it triggers a post back, the UpdatePanel intervenes to initiate the post asynchronously and update just that small portion of the page.
3. The UpdateProgress Control
This control provides a sort of feedback on the browser while one or more update panel controls are being updated in the web page. It provides a visual interface like “Loading page…” or any image, indicating the work is in progress.
4. The Timer Control
This control is used to start the post back automatically. This could be done in two ways:
A. By using Triggers property of the UpdatePanel control
B. By using timer control directly inside the UpdatePanel to behave as a child control trigger.
I hope you got an idea about Ajax Control in ASP.NET.
I would like to have feedback from my blog readers.
I hope after reading this article you will be able to do this.
Your valuable feedback, question, or comments about this article are always welcome.