Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.ControlItemTelerik.Web.UI.RadTreeNode
Methods
Evaluates the template against the Node's data item and applies it.
bindTemplate(): void
Marks the checkbox for a Node
check(): void
Clones the node with or without the child-nodes (with respect to the boolean parameter cloneChildren).
clone(Boolean cloneChildren): Telerik.Web.UI.RadTreeNode
Determines whether the child nodes should be cloned.
Returns:Telerik.Web.UI.RadTreeNode
The cloned node.
Collapses a Node
collapse(): void
Disables a Node
disable(): void
Enables a Node
enable(): void
Takes the Node out of editing mode.
endEdit(): void
Expands a Node
expand(): void
Returns an array of all the child Nodes of this node.
get_allNodes(): Telerik.Web.UI.RadTreeNode[]
Telerik.Web.UI.RadTreeNode[]
Returns an array of all the child Nodes of this node.
True, if dragging is allowed, false otherwise.
get_allowDrag(): Boolean
Boolean
True, if dropping is allowed, false otherwise.
get_allowDrop(): Boolean
Boolean
True, if Node edit is allowed, false, otherwise.
get_allowEdit(): Boolean
Boolean
Returns a Collection of all custom attributes set to the Node.
get_attributes(): Object
Object
Gets the category of the Node.
get_category(): String
String
Returns the checkability of the Node
get_checkable(): Boolean
Boolean
true if the node can be checked
Gets the DOM Element of the checkbox.
get_checkBoxElement(): Element
Element
DOM Element for the checkbox.
Gets the checked state of a Node. The Node is checked if get_checked() returns true.
get_checked(): Boolean
Boolean
Returns the current check state of a node. It can be one of the following:Telerik.Web.UI.TreeNodeCheckState.Unchecked, Telerik.Web.UI.TreeNodeCheckState.Checked or Telerik.Web.UI.TreeNodeCheckState.Indeterminate
get_checkState(): Telerik.Web.UI.TreeNodeCheckState
Telerik.Web.UI.TreeNodeCheckState
Returns the DOM element for the list of the child Nodes. Null if there are no child Nodes.
get_childListElement(): Element
Element
DOM element for the child nodes list
Returns the value of the Node's ClientTemplate property.
get_clientTemplate(): void
Returns the value of ContentCssClass property of the Node
get_contentCssClass(): String
String
get_contentElement(): void
Returns the context menu object (if any).
get_contextMenu(): Telerik.Web.UI.RadMenu
Telerik.Web.UI.RadMenu
Returns the ID of the Context Menu assigned to the Node.
get_contextMenuID(): String
String
Returns the name of the CSS class applied to the Node.
get_cssClass(): String
String
Returns the name of the CSS class applied to the Node when disabled.
get_disabledCssClass(): String
String
Returns the path to the image displayed next to the Node when disabled.
get_disabledImageUrl(): String
String
Returns the DOM element for a Node.
get_element(): Element
Element
True if the Context Menus are enabled,False otherwise.
get_enableContextMenu(): Boolean
Boolean
Gets the enabled state of the Node. The Node is enabled if get_enabled() returns true.
get_enabled(): Object
Object
Gets the expanded/collapsed state of a Node. The Node is expanded if get_expanded() returns true.
get_expanded(): Boolean
Boolean
Returns the path to the image displayed next to the Node when expanded.
get_expandedImageUrl(): String
String
Returns the ExpandMode of the Node. ExpandMode can be: 0 - ExpandMode.ClientSide; 1 - ExpandMode.ServerSide; 2 - ExpandMode.ServerSideCallBack; 3 - ExpandMode.WebService;
get_expandMode(): Number
Number
Int
Returns the name of the CSS class applied to the Node when hovered.
get_hoveredCssClass(): String
String
Returns the path to the image displayed next to the Node when hovered.
get_hoveredImageUrl(): String
String
Gets the DOM Element of the image set to the node. Note: Images are set using the RadTreeView ImageUrl property.
get_imageElement(): Element
Element
DOM Element for the image.
Returns the path to the image displayed next to the Node.
get_imageUrl(): String
String
Returns the index of the node in the nodes collection of its parent.
get_index(): Object
Object
Returns the DOM element for the input when the Node is in Edit Mode
get_inputElement(): Element
Element
DOM Element
Returns true if both the Node and the tree are enabled. If one of them is disabled, the get_isEnabled returns false.
get_isEnabled(): Object
Object
get_lastChild(): void
get_lastVisibleChild(): void
Gets the Level of the Node in the TreeView structure. Root Nodes are at level 0, their children Nodes - at 1 and so on.
get_level(): Number
Number
Gets the DOM element for the link of the Node when NavigateUrl is set
get_linkElement(): Element
Element
DOM element
Returns the DOM element representing loading status of the Node.
get_loadingStatusElement(): Element
Element
DOM Element
Returns the URL of the Node(the href attribute of the link). Null if the NavigateUrl server property is not set.
get_navigateUrl(): String
String
String
Gets an instance of the next sibling of a Node.
get_nextNode(): Telerik.Web.UI.RadTreeNode
Telerik.Web.UI.RadTreeNode
get_nextVisibleNode(): void
get_nodeData(): void
Returns the RadTreeNodeCollection of a Node.
get_nodes(): Telerik.Web.UI.RadTreeNodeCollection
Telerik.Web.UI.RadTreeNodeCollection
True if postback is enabled, false otherwise.
get_postBack(): Boolean
Boolean
Gets an instance of the previous sibling of a Node.
get_previousNode(): Telerik.Web.UI.RadTreeNode
Telerik.Web.UI.RadTreeNode
RadTreeNode
get_prevVisibleNode(): void
get_resolvedContextMenuID(): void
Gets the selected state of a Node. Returns true if the Node is selected.
get_selected(): Boolean
Boolean
Returns the name of the CSS class applied to the Node when selected.
get_selectedCssClass(): String
String
Returns the path to the image displayed next to the Node when selected.
get_selectedImageUrl(): String
String
Gets the target of the Node. If a target is not set, returns null.
get_target(): String
String
Retrieves the text for a Node.
get_text(): String
String
Gets the DOM Element of the text set to the Node. Note: Changes to the text element are not persisted across postbacks.;
get_textElement(): Element
Element
DOM Element for the text of the Node.
Returns the DOM element representing the toggle image. Null, if the Node has no child Nodes.
get_toggleElement(): Element
Element
DOM Element for the toggle image.
Gets the ToolTip of the Node. If a ToolTip is not set, returns null.
get_toolTip(): String
String
Gets an instance to the parent RadTreeView.
get_treeView(): Telerik.Web.UI.RadTreeView
Telerik.Web.UI.RadTreeView
Gets the value of the Node.
get_value(): Object
Object
True if the item is visible.
get_visible(): Boolean
Boolean
Hides the loading message.
hideLoadingStatus(): void
Highlights a Node. Highlighted Nodes are visually emphasized.
highlight(): void
Causes the Node to scroll into view, aligning the Node to the bottom of the TreeView area.
scrollIntoView(): void
Selects a Node
select(): void
Enables/Disables dragging.
set_allowDrag(Boolean value): void
value
Enables/Disables dragging.
set_allowDrop(Boolean value): void
value
Allows/Disallows Node editing.
set_allowEdit(Boolean value): void
value
Sets the category of the Node.
set_category(String value): void
value
Enables/Disables the checkability of the Node.
set_checkable(Boolean value): void
value
Marks or unmarks the checkbox for a Node.
set_checked(Boolean value): void
Boolean
Sets the value of the Node's ClientTemplate property.
set_clientTemplate(String value): void
value
Sets the value of ContentCssClass property of the Node
set_contentCssClass(String value): void
value
Sets the ID of the Context menu to be assigned to the Node.
set_contextMenuID(String contextMenuID): void
contextMenuID
Sets the name of the CSS class to be applied to the Node.
set_cssClass(String value): void
value
Sets the name of the CSS class to be applied to the Node when disabled.
set_disabledCssClass(String value): void
value
Sets the path to the image displayed next to the Node when disabled.
set_disabledImageUrl(String value): void
value
set_element(Element value): void
Sets the DOM element of the node
Determines if the Context Menu should be enabled.
set_enableContextMenu(Boolean value): void
value
Enables or disables a Node based on the boolean parameter passed in.
set_enabled(Boolean value): void
value
Expands or collapses a Node.
set_expanded(Boolean value): void
value
Sets the path to the image displayed next to the Node when expanded.
set_expandedImageUrl(String value): void
value
Sets the ExpandMode of the Node. ExpandMode can be: Telerik.Web.UI.TreeNodeExpandMode.ClientSide; Telerik.Web.UI.TreeNodeExpandMode.ServerSide; Telerik.Web.UI.TreeNodeExpandMode.ServerSideCallBack; Telerik.Web.UI.TreeNodeExpandMode.WebService;
set_expandMode(Telerik.Web.UI.TreeNodeExpandMode value): void
value
Sets the name of the CSS class to be applied to the Node when hovered.
set_hoveredCssClass(String value): void
value
Sets the path to the image displayed next to the Node when hovered.
set_hoveredImageUrl(String value): void
value
Sets the path to the image displayed next to the Node.
set_imageUrl(String value): void
value
Sets the URL of the Node. Works only if the NavigateUrl property has been set at the server-side beforehand or if the Node is not added at the client-side.
set_navigateUrl(String value): void
value
Determines if the Node should postback.
set_postBack(Boolean value): void
value
Selects or unselects a Node based on the boolean parameter.
set_selected(Boolean value): void
value
Sets the name of the CSS class to be applied to the Node when selected.
set_selectedCssClass(String value): void
value
Sets the path to the image displayed next to the Node when selected.
set_selectedImageUrl(String value): void
value
Sets the target of the Node.
set_target(String value): void
value
Sets the text of the Node.
set_text(String text): void
text
Sets the ToolTip of the Node.
set_toolTip(String value): void
value
Sets the value of the Node.
set_value(Object string): Object
Object
Set the visibility of a Node.
set_visible(Boolean value): void
value
Shows the loading message at the specified position. The available positions are: Telerik.Web.UI.TreeViewLoadingStatusPosition.BelowNodeTextTelerik.Web.UI.TreeViewLoadingStatusPosition.AfterNodeText Telerik.Web.UI.TreeViewLoadingStatusPosition.BeforeNodeText
showLoadingStatus(String text, Telerik.Web.UI.TreeViewLoadingStatusPosition position): void
text
positionTelerik.Web.UI.TreeViewLoadingStatusPositionposition
Allows the Node to be edited. This is equivalent to the user clicking the Node twice or pressing F2.
startEdit(): void
Collapses an expanded Node or expands a collapsed Node.
toggle(): void
Unmarks the checkbox for a Node
uncheck(): void
Un-highlights a Node
unhighlight(): void
Unselects a Node
unselect(): void