This question is locked. New answers and comments are not allowed.
Hi there,
What combination of grid client events can I use to persist the current page the grid is focused on and then jump to that page after a full page refresh?
I know I can get the grid.currentPage in the OnDataBound() event. And I can see the change from my persisting this value in a page-scoped variable versus what is in in e.Page in the OnDataBinding(e) event. But I am uncertain at which point I should do grid.pageTo(_currentPage) in order to restore the previously selected page after a grid.rebind().
The documentation here suggests that after the ajax call completes, I can listen to OnComplete() and I thought that might be a time to set the page to jump to since it is after the data is retrieved and prior to the grids binding process, but there is no such event on the MVC Telerik Grid... so I am a little confused, but perhaps that's the wrong way to go to begin with.
Any help is appreciated!
Thanks,
Rob
What combination of grid client events can I use to persist the current page the grid is focused on and then jump to that page after a full page refresh?
I know I can get the grid.currentPage in the OnDataBound() event. And I can see the change from my persisting this value in a page-scoped variable versus what is in in e.Page in the OnDataBinding(e) event. But I am uncertain at which point I should do grid.pageTo(_currentPage) in order to restore the previously selected page after a grid.rebind().
The documentation here suggests that after the ajax call completes, I can listen to OnComplete() and I thought that might be a time to set the page to jump to since it is after the data is retrieved and prior to the grids binding process, but there is no such event on the MVC Telerik Grid... so I am a little confused, but perhaps that's the wrong way to go to begin with.
Any help is appreciated!
Thanks,
Rob