Back to Devexpress

GridViewSettings.SettingsCookies Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-gridviewsettings-1c0f9514.md

latest1.9 KB
Original Source

GridViewSettings.SettingsCookies Property

Provides access to the extension’s cookie settings.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public ASPxGridViewCookiesSettings SettingsCookies { get; }
vb
Public ReadOnly Property SettingsCookies As ASPxGridViewCookiesSettings

Property Value

TypeDescription
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

Cookies Support

Grid View

GridViewSettings Class

GridViewSettings Members

DevExpress.Web.Mvc Namespace