Hi,
We are having problems with paging on a grid when using server side paging.
We have a grid that contains, for example, 500 items. We have this paged to show 6 items and are currently looking at page 7.
On the back end, the data has been updated so that there is now only a single record in the dataset.
When I now do a refresh of the grid, the results are as follows:
The DataSourceRequest is as follows: Page = 7, PageSize = 6, all other properties are 0.
After performing ToDataSourceResult(request), the DataSourceResult is as follows: Data = empty, Total = 1.
Once this is returned, the grid then shows the no data template.
Is this a bug, or is there a way to fix it. I can obviously detect this, modify the request parameters and re-generate the DataSourceResult, but this smells a bit.
Thanks in advance,
Carl