IModelOptionsStateStore.SaveListViewStateInCookies Property

Specifies whether the application can use the browser cookie storage to persist List View settings.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

bool SaveListViewStateInCookies { get; set; }
Property SaveListViewStateInCookies As Boolean

Property Value

Type Description
Boolean

true, if the application can use the browser cookie storage to persist List View settings; otherwise, false.

If the browser cookie storage is disabled, the IModelListViewStateStore.SaveStateInCookies properties have no effect.

Important

It is recommended to store the application model differences in the database instead of cookies. List View settings may require a lot of space and the browser's cookie size limit may be exceeded (especially, when you use highly configurable List Editors with lots of options like ASPxPivotGridListEditor and ASPxChartListEditor). If the size is exceeded, settings are not persisted. Additionally, cookie storage produces extra traffic on each request that may lead to performance issues.

See Also