Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
DHTML Behaviors
WebControls
Platform Reference
TreeNode
 Expandable Property
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

tagPrefixRequired. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
sExpandableobject that specifies or receives a value that indicates whether or not a plus-sign image displays on a node.
AlwaysA plus- or minus-sign image displays on a node (whether or not it has children) when the ShowPlus property is true.
AutoDefault. A plus- or minus-sign image displays on a node if it has children and the ShowPlus property is also true.
CheckOnceA plus-sign image displays on a node when ShowPlus is also true. 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

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker