Skip to main content

GridViewSettings.SettingsCookies Property

Provides access to the extension’s cookie settings.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

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