Gets or sets a value indicating whether to submit the whole treeview state, values on postback. If you want to regenerate treeview on every postback, you may set it false. Generally it should be true to keep the treeview state on postback.


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

Syntax

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

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

/** property */
public void set_EnablePersistentTreeState(bool value);
JScript
public function get EnablePersistentTreeState() : bool

public function set EnablePersistentTreeState(value : bool);

Property Value

true if [enable persistent tree state]; otherwise, false.

See Also