Skip to main content

TreeListSettings.SettingsCookies Property

Provides access to the extension’s cookie settings.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxTreeListSettingsCookies SettingsCookies { get; }

Property Value

Type Description
MVCxTreeListSettingsCookies

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

Remarks

If the browser supports cookies, the TreeList 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 TreeListSettingsCookies.Enabled property to true. The MVCxTreeListSettingsCookies object’s properties allow you to specify which information on the TreeList’s state can be saved to cookies.

See Also