Skip to main content
Tab

ASPxGridView.EnableRowsCache Property

Specifies whether the control caches its data.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(true)]
public bool EnableRowsCache { get; set; }

Property Value

Type Default Description
Boolean true

true, to cache data; otherwise, false.

Remarks

ASPxGridView has built-in cache that stores data of visible rows for quick access. This avoids additional data binding when grid performs operations that do not require reloading data, for instance, when it rearranges or hides columns.

Set the EnableRowsCache property to false to disable data cache.

<dx:ASPxGridView ID="Grid" runat="server" EnableRowsCache="False" ... />

Refer to the following topic for more information: Built-in Row Cache.

See Also