select

Grid / Client-side Binding and Caching

Rate this demo: Feedback
Run example in: C# VB.NET Change Skin:
Vista
  • BlackBlack
  • DefaultDefault
  • ForestForest
  • HayHay
  • Office2007Office2007
  • OutlookOutlook
  • SimpleSimple
  • SitefinitySitefinity
  • SunsetSunset
  • TelerikTelerik
  • VistaVista
  • Web20Web20
  • WebBlueWebBlue
  • Windows7Windows7
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. Hence this data will not be transferred between the client and the server which will save bandwidth and loading time when the grid is rebound on the client.
IDNameUnit priceDateDiscontinued
 Page 1 of 2, items 1 to 10 of 11.
    
    
    
    
    
    
    
    
    
    

Example Source Code & Description

Instructions
Open in new window
  • This example demonstrates how to enable/disable the grid client-side caching.

    RadGrid can cache data on the client based on the current grid state. To enable/disable this feature 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>
    ...
    
Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us