TREENODE Element | TreeNode Object

Specifies a node in a tree.

Syntax

HTML <namespace:TREENODE ... >

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.

Members Table

The following table lists the members exposed by the TreeNode object.

Attribute Property Description
CHECKBOX Sets or retrieves a value that indicates whether to display a check box next to a specific TreeNode or next to all TreeNodes that belong to a TreeNodeType in a TreeView.
CHECKED Sets or retrieves a value that indicates whether or not the node is checked.
CHILDTYPE Sets or retrieves the type of TreeNodeType to use for all descendents.
DEFAULTSTYLE Sets or retrieves a value that indicates the default style for the element.
EXPANDABLE Sets or retrieves a value that indicates whether a plus-sign image displays on a node.
EXPANDED Sets or retrieves a value that indicates whether the node is expanded.
EXPANDEDIMAGEURL Sets or retrieves the URL of an image to use for expanded nodes.
HOVERSTYLE Sets or retrieves a value that indicates the style of the element when the user hovers the keyboard focus or mouse pointer over it.
IMAGEURL Sets or retrieves a value that indicates the URL of the image to be displayed on a node or toolbar item.
NAVIGATEURL Sets or retrieves the URL of the page to navigate to when the user clicks a node.
SELECTEDIMAGEURL Sets or retrieves the URL of an image to use for a selected node.
SELECTEDSTYLE Sets or retrieves a value that indicates the style for the selected element.
TARGET Sets or retrieves a value that indicates the window or frame at which to target the contents.
TEXT Sets or retrieves the text value of a TreeNode.
TREENODESRC Sets or retrieves a value that indicates the URL of an XML file, String, or XML data island containing TreeNode elements.
TREENODEXSLTSRC Sets or retrieves a value that indicates the URL to an Extensible Stylesheet Language Transformations (XSLT) file, String, or XML data island used to transform TreeNode elements.
TYPE Sets or retrieves the name of the node type.
Method Description
add Adds a TreeNode to the end of the TreeView or TreeNode.
addAt Adds a TREENODE at the given Integer index.
addTo Adds a TreeNode to a tree node or tree view at the given index.
databind Asynchronously binds the data to the TreeView or the TreeNode.
findAttribute Retrieves the value of the specified attribute.
getAttribute Retrieves the value of the specified attribute.
getChildren Retrieves an array of TreeNode elements from its parent object.
getNodeIndex Retrieves the index of TreeNode in the TreeView.
getParent Retrieves the immediate parent TreeNode of the TreeNode element.
remove Removes the TreeNode from the TreeView.
setAttribute Sets the value of the specified attribute.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl