Skip to main content
A newer version of this page is available. .

GridViewSettings.SettingsCookies Property

Provides access to the extension’s cookie settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.1.dll

Declaration

public ASPxGridViewCookiesSettings SettingsCookies { get; }

Property Value

Type Description
ASPxGridViewCookiesSettings

A ASPxGridViewCookiesSettings object that contains the extension’s cookie settings.

Remarks

If the browser supports cookies, the GridView can persist its state (sorting, column layout, etc.) in cookies. Otherwise, information about the extension’s state is lost between different requests from the client for the same page.

To enable cookies, set the ASPxGridCookiesSettings.Enabled property to true. The ASPxGridViewCookiesSettings object’s properties allow you to specify which information on the GridView’s state can be saved to cookies.

See Also