GridViewSettings.SettingsCookies Property
In This Article
Provides access to the extension’s cookie settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public ASPxGridViewCookiesSettings SettingsCookies { get; }
#Property Value
Type | Description |
---|---|
ASPx |
A ASPx |
#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