This is a migrated thread and some comments may be shown as answers.

RadGrid Virtualization doesn't save scroll position

1 Answer 148 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 02 Aug 2016, 05:38 PM

Hi all,

 

In RadGrid when the Virtualization feature is enabled and ocurres a postback the Grid scrolls to top even if the SaveScrollPosition property is set to True. This behavior can be reproduced in Demo page: http://demos.telerik.com/aspnet-ajax/grid/examples/performance/virtualization/defaultcs.aspx following these steps:

  • Scroll to any position
  • Click in any column to Sort
  • After that a post back ocurres and the scroll bar is back to the initial position

This is a bug? There's any workaround to solve this issue?

 

Regards!

 

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 05 Aug 2016, 12:23 PM
Hello,

For saving the scroll position you can consider using cookies as shown in the following code library project:
Save RadGrid scroll position

I hope this helps.

Regards,
Maria Ilieva
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or