EXPANDLEVEL Attribute | expandLevel Property

Sets or retrieves the number of levels to expand the TreeView when initially rendered.


HTML <namespace:TREEVIEW EXPANDLEVEL = sChildType... >
Scripting TREEVIEW.expandLevel [ = sChildType ]

Possible Values

namespace Prefix that associates a custom tag with an XML namespace. This prefix is set using the XMLNS attribute of the html tag.
sChildType String that specifies or receives the number of levels to expand the TreeView.
Default. The tree is completely collapsed.

The property is read/write. The property has a default value of -1.

Applies To


See Also

Internet Explorer WebControls, About the TreeView WebControl