Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi everyone,

i have a problem, i made a gridview and i am filtering the grideview content on the bases of selected content by the user from dropdownlist... i am also using paging in the gridview, it shows 10 rows at a time...now when i select the content from the dropdownlist the grideview content filters and if the filter content is more than 10 rows paging occurs...and when i click on the next page the gridview shows the content of next page but not the content of filtered grideview next page??
Posted

1 solution

Hold your filtering criteria in a session or viewstate and use the same method that used for loading the first page on page change.
 
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