Click here to Skip to main content
14,333,836 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

Hold your filtering criteria in a session or viewstate and use the same method that used for loading the first page on page change.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100