Hi! does anybody know how can I get a grid back to the first page after changing de page size? the problem is that if I change the page size to a smaller one when I am at the last page, it becomes empty because it has no rows to display.
Thanks!
Set the grid's DisplayLayout.Pager.CurrentPageIndex property to 1, ensure that the grid's DataSource or DataSourceID property is set, and call DataBind() on the grid.
Thank you! but when I do that, the grid gets stuck at the first page. I cannot navigate through the pages. I set the property before setting the datasource. Do you have any idea about what´s happening?