GridVirtualization
A class containing properties associated with the RadGrid Virtualization functionality.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridVirtualization : ObjectWithState
Inheritance: objectObjectWithStateGridVirtualization
Inherited Members
Constructors
Properties
Gets or sets a value indicating if the scrolling will be done for the whole data source or only for the current page. The default value is false.
public bool EnableCurrentPageScrollOnly { get; set; }
Gets or sets a value determining if the RadGrid Virtualization will be turned on. The default value is false.
public bool EnableVirtualization { get; set; }
Gets or sets the number of records that will be initially send from the server and cached on the client. Note this property works only for server-side binding. When using client-side binding the initially cached items count equals the RetrievedItemsPerRequest value. The default value is 5000.
public int InitiallyCachedItemsCount { get; set; }
Gets or sets a value determining how many items will be bound in the RadGrid at any given moment. Note that we do not recommend setting the value to something really small(under 50) or really big(over 200) because there could be performance problems. The default value is 100.
public int ItemsPerView { get; set; }
Gets or sets the ID of the RadAjaxLoadingPanel that you want to show when waiting for data to be loaded in the grid. By default the RadGrid will not show any loading panel during requests.
public string LoadingPanelID { get; set; }
Gets or sets a value determining how many items at maximum should be cached on the client. The default value is int.MaxValue.
public int MaxCacheSize { get; set; }
Gets or sets the value that determines how many items will be retrieved every time a request is made. Note that in some cases the number of retrieved items could vary a little from the specified value. The default value is 1000.
public int RetrievedItemsPerRequest { get; set; }