TYPE Attribute | Type Property

Sets or retrieves the name of the node type.

Syntax

ASP <tagPrefix:ELEMENT TYPE = sType ... >
Script [ sType = ] object.Type

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
sType System.String that specifies or receives the name of the node type.

The property is read/write. The property has no default value.

Remarks

When used with the TreeNodeType element, this property is the name of the element and defines a type of node.

When used with the TreeNode element, the element inherits all the attributes for this type of node as defined in the TreeNodeType element of the same type.

Applies To

TREENODE, TREENODETYPE

See Also

Internet Explorer WebControls, About the TreeView WebControl