Telerik Team,
We are using telerik rad grid and have implemented custom paging on it. Hence grid maintains page index while filtering and sorting. Now the issue is say for example page size is 50 and we have 150 records the three page will appear. Now if user go to page number 3 and filters any column which returns only 1 records. Obviously when grid rebinds it will only have one page. One page number shows on the grid. But grid shows no records. Now if I click on page number 1, of course it shows records.
I checked by debugging, in this case PageCount property shows 1 which is less than the out CurrentPageIndex.
How do we dynamically reset the page number from code behind. We don't want to always set page index to 0. Hope this makes sense. Thank you.
Pathan L.
We are using telerik rad grid and have implemented custom paging on it. Hence grid maintains page index while filtering and sorting. Now the issue is say for example page size is 50 and we have 150 records the three page will appear. Now if user go to page number 3 and filters any column which returns only 1 records. Obviously when grid rebinds it will only have one page. One page number shows on the grid. But grid shows no records. Now if I click on page number 1, of course it shows records.
I checked by debugging, in this case PageCount property shows 1 which is less than the out CurrentPageIndex.
How do we dynamically reset the page number from code behind. We don't want to always set page index to 0. Hope this makes sense. Thank you.
Pathan L.