EXPANDED Attribute | Expanded Property
Sets or retrieves a value that indicates whether or not the node is expanded.
Syntax
ASP <tagPrefix:TREENODE EXPANDED = bExpanded ... > Script [ bExpanded = ] TREENODE.Expanded
Possible Values
tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive. bExpanded System.Boolean that specifies or receives the expanded state of a node. falseDefault. The node is collapsed.true
The node is expanded.The property is read/write. The property has a default value of false.
Remarks
You can expand a node by setting this property to
true
.
Applies To
TREENODE
See Also
Internet Explorer WebControls, About the TreeView WebControl