I am using a grid of which the SaveScrollPosition="True" so that the position is saved during AJAX postbacks. I have however implemented a custom client-side script to handle scrolling when the bottom and top of the grid is reached (based on http://www.telerik.com/help/aspnet-ajax/grdvirtualscrollpaging.html) so that paging is "automated".
The issue is now that when I reach the bottom of the grid and the AJAX request is fulfilled then the position is still at the bottom of the grid. I want it to be at the top of the grid and visa-versa when I reach the top of the grid.
I have looked and tested all the scenarios proposed in the demos and sample that I could find, but must be missing something. I believe I must use ScrollTop, but cannot find a proper description of how to implement such a client-side script when the SaveScrollPosition is enabled.
Any help would be highly appreciated.
Regards,
Ray
The issue is now that when I reach the bottom of the grid and the AJAX request is fulfilled then the position is still at the bottom of the grid. I want it to be at the top of the grid and visa-versa when I reach the top of the grid.
I have looked and tested all the scenarios proposed in the demos and sample that I could find, but must be missing something. I believe I must use ScrollTop, but cannot find a proper description of how to implement such a client-side script when the SaveScrollPosition is enabled.
Any help would be highly appreciated.
Regards,
Ray