Gets or sets a value indicating whether to whole treeview state should be save in viewstate, if you want a lower html size rendering to client, turn it off, but it may cause lose of treenodes if the user perform a postback while the page is not fully loaded.


Namespace: Geekees.Common.Controls
Assembly: ASTreeView (in ASTreeView.dll)

Syntax

Visual Basic (Declaration)
<DefaultValueAttribute(True), _
 CategoryAttribute("Configuration"), _
 BrowsableAttribute(True)>

Public Property EnableTreeNodesViewState As Boolean
C#
[DefaultValueAttribute(True)]
[CategoryAttribute("Configuration")]
[BrowsableAttribute(True)]
public bool EnableTreeNodesViewState { get; set; }
C++
[DefaultValueAttribute(True)]
[CategoryAttribute(L"Configuration")]
[BrowsableAttribute(True)]
public property bool EnableTreeNodesViewState sealed  {
    bool get();
    void set(bool value);
}
J#
/** @attribute DefaultValueAttribute(True) */
/** @attribute CategoryAttribute("Configuration") */
/** @attribute BrowsableAttribute(True) */
/** property */
public bool get_EnableTreeNodesViewState();

/** property */
public void set_EnableTreeNodesViewState(bool value);
JScript
public function get EnableTreeNodesViewState() : bool

public function set EnableTreeNodesViewState(value : bool);

Property Value

true if EnableTreeNodesViewState; otherwise, false.

See Also