Skip to main content

ASPxTreeList.SettingsCookies Property

Provides access to the ASPxTreeList cookie and layout settings.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

public TreeListSettingsCookies SettingsCookies { get; }

Property Value

Type Description
TreeListSettingsCookies

An TreeListSettingsCookies object that contains the control’s cookie and layout settings.

Remarks

The SettingsCookies property allows you to specify cookie and layout storing settings.

  • Cookies

    If the browser supports cookies, the ASPxTreeList can persist its state (sorting, selected nodes, etc.) in cookies. Otherwise, information about the control’s state is lost between different requests from the client for the same page. Use the SettingsCookies property to specify which information on the ASPxTreeList state can be saved to cookies. To enable cookies, set the TreeListSettingsCookies.Enabled property to true.

  • Layout Storing

    Use the SettingsCookies to specify which information on the ASPxTreeList layout will be saved when handling the ASPxTreeList.ClientLayout event or calling the ASPxTreeList.SaveClientLayout method.

See Also