EXPANDABLE Attribute | Expandable Property
Sets or retrieves a value that indicates whether a plus-sign image displays on a node.
Syntax
ASP <tagPrefix:ELEMENT EXPANDABLE = sExpandable ... > Script [ sExpandable = ] object.Expandable
Possible Values
tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive. sExpandable object that specifies or receives a value that indicates whether or not a plus-sign image displays on a node. Always
A plus- or minus-sign image displays on a node (whether or not it has children) when the ShowPlus property istrue
.AutoDefault. A plus- or minus-sign image displays on a node if it has children and the ShowPlus property is alsotrue
.CheckOnce
A plus-sign image displays on a node when ShowPlus is alsotrue
. If the node has no children, the plus-sign disappears when the user clicks the node for the first time.The property is read/write. The property has a default value of Auto.
Remarks
CheckOnce
is the default value when the node has the TreeNodeSrc property set.
Applies To
TREENODE, TREENODETYPE
See Also
Internet Explorer WebControls, About the TreeView WebControl