Hi,
I use a RadGrid with my own filter implementation. The user can use a textbox to filter the result (only rows containing the keyword will be added to the datasource in the NeedDataSource event). Now I have the strange issue that if I am on page 2 and do a filter and I end up with a row count which is less than the page size (e.g. the page size is 25 and I have only 5 rows), the RadGrid will show "page 2 of 1" and displays no records.
This only occurs if I grouped after a column, Without grouping, everything works fine.
I the DataBound event I can see that CurrentPageIndex is 1 and PageCount is 1, so something went wrong. Setting the CurrentPageIndex to "0" won't work.
I'm using Q3 2011,
I use a RadGrid with my own filter implementation. The user can use a textbox to filter the result (only rows containing the keyword will be added to the datasource in the NeedDataSource event). Now I have the strange issue that if I am on page 2 and do a filter and I end up with a row count which is less than the page size (e.g. the page size is 25 and I have only 5 rows), the RadGrid will show "page 2 of 1" and displays no records.
This only occurs if I grouped after a column, Without grouping, everything works fine.
I the DataBound event I can see that CurrentPageIndex is 1 and PageCount is 1, so something went wrong. Setting the CurrentPageIndex to "0" won't work.
I'm using Q3 2011,