Click here to Skip to main content
15,891,719 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The UpdatePanel control enables partial-page rendering in an ASP.NET Web page asynchronously.

I found everywhere this asynchronous and synchronous.. I am new to .net

Kindly explain what does this asynchronous means
Posted

1 solution

Example:
You have 50 data in your gridview. You enabled paging for that gridview with page size 10. It will display records 10 per page that is 5 pages,each with 10 records.Now when you try to go to second page of gridview,that is another 10 records,postback occurs(page will be posted back to server,in very basic terms for now,page flicks..:)). If you wrap this gridview inside update panel,then page wont be posted back to server,it will simply display second page.

Well,idea behind is,postback occurs in order to inform server what happened at client side so that server can decide how to proceed further.There will be situation where you dont want this,no need for server interference,Update Panel will do the trick.

So by this what you achieved is called Partial-page update(only gridview display is updated not whole page).

Further, refer to below link

What are actually synchronous/asynchronous operations (C# 5.0 Series)[^]

Regards :laugh:
 
Share this answer
 
v2
Comments
anurag19289 15-Jul-13 21:27pm    
very nice explanation.... :)thanks

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