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

RadGrid VirtualScrolling Caching

3 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 31 Jan 2013, 03:45 PM
For my application, I have achieved something similar to the first example on this demo:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpaging/defaultcs.aspx

However, when a new page is loaded, the previous page's data is lost.  How can I enable caching so that once a page loads, the data is cached?  (The second example on the linked page implements this caching)

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 05 Feb 2013, 09:17 AM
Hello Neil,

The second example just increase the page size in order to display more items in the grid. For instance at the beginning if you have page size set to 15 items after you reach the bottom of the grid you increase it to 30 items and so on.

Regards,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Neil
Top achievements
Rank 1
answered on 05 Feb 2013, 02:46 PM
Hi Kostadin,

Thanks for the response.  Is there a way to achieve this behavior in a hierarchical RadGrid?  I would like all the previous pages to stay cached once loaded.  For example, if a user scrolls from page 1 to 2 to 3, I would like all 3 to be loaded in the grid - currently, paging back to page 2 or 1 would go back to the server to retrieve the data (that was already requested)
0
Kostadin
Telerik team
answered on 08 Feb 2013, 10:39 AM
Hello Neil,

I am afraid using a Yahoo-style scrolling with hierarchy grid is not supported scenario. Nevertheless you could place another RadGrid in NestedViewTemplate and implement Yahoo-style scrolling on it.

All the best,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Neil
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Neil
Top achievements
Rank 1
Share this question
or