Click here to Skip to main content
15,905,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear FrNdZ !!

On my Webform I have a Dropdownlist and a Gridview.., to Select one item from dropdown and display that particular records in GRIDVIEW.

and also gave dropdown postback to TRUE.


so, when i select one item from DropdownList Complete page is REFRESHING. I dont need complete page refresh.

Please can anybody can solve this problem.

Thanks,
Posted

1 solution

when i select one item from DropdownList Complete page is REFRESHING. I dont need complete page refresh
Sounds like you need partial page update. You need to use AJAX:
Here you go:
MS: AJAX Videos[^]
Ajax tutorials[^]
AJAX overview[^]
What is ASP.NET Ajax?[^]

Keeping small things aside, in short, you need to put your Grid in an Udpate Panel to enable partial rendering:
UpdatePanel control[^]
UpdatePanel Class[^]
All you need to know with sample code is present and explained.
 
Share this answer
 
v2
Comments
Mohamed Mitwalli 24-Apr-12 2:24am    
5 for your answer
Ranjith Reddy CSE 7-May-12 6:06am    
How to avoid Total Page Refresh in asp.net When Click on MENU LINKS.

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