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

How Use OF Cache on grid server side.

1 Answer 149 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rahul
Top achievements
Rank 1
rahul asked on 10 Apr 2014, 08:37 AM
hi,
 i want to use a cache on grid server side with web service. how can implement it in asp.net please provide demo or example.

Thanks,
Rahul

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 14 Apr 2014, 11:34 AM
Hello Rahul,

To enable/disable the Client-side caching you can use the ClientSettings.DataBinding.EnableCaching property (its default value is false):
<ClientSettings>
  <DataBinding Location="~/Grid/Examples/Client/DeclarativeDataBinding/WebService.asmx" SelectMethod="GetDataAndCount" EnableCaching="true" />
</ClientSettings>
With client-side caching enabled RadGrid will store the start row index, maximum rows, sorting and filtering expressions and will retrieve them from the cache automatically on subsequent client-side refreshes.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
rahul
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or