Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i sort the gridview, all the contents of the page reload. So it create a bad impression.
I want that only the particular area reloads and it show a loader image.
Posted
Updated 2-May-11 0:25am
v2

1 solution

Use an UpdatePanel in your ASP.NET and add a GridView into it. Make sure you have added ScriptManager in the .aspx file too. Then use the Triggers of the UpdatePanel which will contain the controls which will reload the Gridview.

I have answered it here : checked chaged event is not firing within update panel[^]
In case you don't know how to use an UpdatePanel, check out this site : http://www.asp.net/ajax/tutorials/understanding-asp-net-ajax-updatepanel-triggers[^].

Hope it helped.
 
Share this answer
 

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