Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.ControlItemContainerTelerik.Web.UI.RadTreeView
Events
Adds a contextMenuItemClicked event handler for the radtreeview
add_contextMenuItemClicked
The event handler function to attach
Adds a contextMenuItemClicking event handler for the radtreeview
add_contextMenuItemClicking
The event handler function to attach
Adds a contextMenuShowing event handler for the radtreeview
add_contextMenuShowing
The event handler function to attach
Adds a contextMenuShown event handler for the radtreeview
add_contextMenuShown
The event handler function to attach
Adds a doubleClick event handler for the radtreeview
add_doubleClick
The event handler function to attach
Adds a keyPressing event handler for the radtreeview
add_keyPressing
The event handler function to attach
Adds a load event handler for the radtreeview
add_load
The event handler function to attach
Adds a mouseOut event handler for the radtreeview
add_mouseOut
The event handler function to attach
Adds a mouseOver event handler for the radtreeview
add_mouseOver
The event handler function to attach
Adds a nodeAnimationEnd event handler for the radtreeview
add_nodeAnimationEnd
The event handler function to attach
Adds a nodeChecked event handler for the radtreeview
add_nodeChecked
The event handler function to attach
Adds a nodeChecking event handler for the radtreeview
add_nodeChecking
The event handler function to attach
Adds a nodeClicked event handler for the radtreeview
add_nodeClicked
The event handler function to attach
Adds a nodeClicking event handler for the radtreeview
add_nodeClicking
The event handler function to attach
Adds a nodeCollapsed event handler for the radtreeview
add_nodeCollapsed
The event handler function to attach
Adds a nodeCollapsing event handler for the radtreeview
add_nodeCollapsing
The event handler function to attach
Adds a nodeDataBound event handler for the radtreeview
add_nodeDataBound
The event handler function to attach
Adds a nodeDragging event handler for the radtreeview
add_nodeDragging
The event handler function to attach
Adds a nodeDragStart event handler for the radtreeview
add_nodeDragStart
The event handler function to attach
Adds a nodeDropped event handler for the radtreeview
add_nodeDropped
The event handler function to attach
Adds a nodeDropping event handler for the radtreeview
add_nodeDropping
The event handler function to attach
Adds a nodeEdited event handler for the radtreeview
add_nodeEdited
The event handler function to attach
Adds a nodeEditing event handler for the radtreeview
add_nodeEditing
The event handler function to attach
Adds a nodeEditStart event handler for the radtreeview
add_nodeEditStart
The event handler function to attach
Adds a nodeExpanded event handler for the radtreeview
add_nodeExpanded
The event handler function to attach
Adds a nodeExpanding event handler for the radtreeview
add_nodeExpanding
The event handler function to attach
Adds a nodePopulated event handler for the radtreeview
add_nodePopulated
The event handler function to attach
Adds a nodePopulating event handler for the radtreeview
add_nodePopulating
The event handler function to attach
Adds a nodePopulationFailed event handler for the radtreeview
add_nodePopulationFailed
The event handler function to attach
Adds a templateDataBound event handler for the radtreeview
add_templateDataBound
The event handler function to attach
Adds a treePopulated event handler for the radtreeview
add_treePopulated
The event handler function to attach
Adds a treePopulating event handler for the radtreeview
add_treePopulating
The event handler function to attach
Removes a contextMenuItemClicked event handler from the radtreeview
remove_contextMenuItemClicked
The event handler function to remove
Removes a contextMenuItemClicking event handler from the radtreeview
remove_contextMenuItemClicking
The event handler function to remove
Removes a contextMenuShowing event handler from the radtreeview
remove_contextMenuShowing
The event handler function to remove
Removes a contextMenuShown event handler from the radtreeview
remove_contextMenuShown
The event handler function to remove
Removes a doubleClick event handler from the radtreeview
remove_doubleClick
The event handler function to remove
Removes a keyPressing event handler from the radtreeview
remove_keyPressing
The event handler function to remove
Removes a load event handler from the radtreeview
remove_load
The event handler function to remove
Removes a mouseOut event handler from the radtreeview
remove_mouseOut
The event handler function to remove
Removes a mouseOver event handler from the radtreeview
remove_mouseOver
The event handler function to remove
Removes a nodeAnimationEnd event handler from the radtreeview
remove_nodeAnimationEnd
The event handler function to remove
Removes a nodeChecked event handler from the radtreeview
remove_nodeChecked
The event handler function to remove
Removes a nodeChecking event handler from the radtreeview
remove_nodeChecking
The event handler function to remove
Removes a nodeClicked event handler from the radtreeview
remove_nodeClicked
The event handler function to remove
Removes a nodeClicking event handler from the radtreeview
remove_nodeClicking
The event handler function to remove
Removes a nodeCollapsed event handler from the radtreeview
remove_nodeCollapsed
The event handler function to remove
Removes a nodeCollapsing event handler from the radtreeview
remove_nodeCollapsing
The event handler function to remove
Removes a nodeDataBound event handler from the radtreeview
remove_nodeDataBound
The event handler function to remove
Removes a nodeDragging event handler from the radtreeview
remove_nodeDragging
The event handler function to remove
Removes a nodeDragStart event handler from the radtreeview
remove_nodeDragStart
The event handler function to remove
Removes a nodeDropped event handler from the radtreeview
remove_nodeDropped
The event handler function to remove
Removes a nodeDropping event handler from the radtreeview
remove_nodeDropping
The event handler function to remove
Removes a nodeEdited event handler from the radtreeview
remove_nodeEdited
The event handler function to remove
Removes a nodeEditing event handler from the radtreeview
remove_nodeEditing
The event handler function to remove
Removes a nodeEditStart event handler from the radtreeview
remove_nodeEditStart
The event handler function to remove
Removes a nodeExpanded event handler from the radtreeview
remove_nodeExpanded
The event handler function to remove
Removes a nodeExpanding event handler from the radtreeview
remove_nodeExpanding
The event handler function to remove
Removes a nodePopulated event handler from the radtreeview
remove_nodePopulated
The event handler function to remove
Removes a nodePopulating event handler from the radtreeview
remove_nodePopulating
The event handler function to remove
Removes a nodePopulationFailed event handler from the radtreeview
remove_nodePopulationFailed
The event handler function to remove
Removes a templateDataBound event handler from the radtreeview
remove_templateDataBound
The event handler function to remove
Removes a treePopulated event handler from the radtreeview
remove_treePopulated
The event handler function to remove
Removes a treePopulating event handler from the radtreeview
remove_treePopulating
The event handler function to remove
Methods
Adds the passed nodes to the passed target's node collection. The usage of this method is preferable when a big amount of child nodes is being added to a certain node's Collection, because it batches the updates to the DOM in a single operation and this is a major performance improvement.
addNodesTo(Telerik.Web.UI.RadTreeNode target, Telerik.Web.UI.RadTreeNodeCollection nodes): void
The target receiving the new nodes
nodesTelerik.Web.UI.RadTreeNodeCollectionThe nodes to be added
Bulks update operations over the current TreeView instance, executed in the passed function. The parameter is only one and it's a function.
bulkUpdateWith(Function func): void
The function that should be executed
Checks all nodes of the TreeView.
checkAllNodes(): void
Checks the passed nodes. The parameter is only one and can be Telerik.Web.UI.RadTreeNodeCollection or regular Array.
checkNodes(Telerik.Web.UI.RadTreeNodeCollection nodes): void
The nodes to be checked
Writes the changes to the TreeView that were made since a previous call to trackChanges, so that they are preserved on the server as well.
commitChanges(): void
Returns the first RadTreeNode object whose NavigateUrl property is equal to the passed parameter. Note that the parameter should ends with "/" like: var item = sender.findNodeByAbsoluteUrl("https://www.test.com/");
findNodeByAbsoluteUrl(String url): Telerik.Web.UI.RadTreeNode
NavigateUrl of the Node
Returns:Telerik.Web.UI.RadTreeNode
Gets the first instance of a Node with the specified attribute, value pair.
findNodeByAttribute(String attributeName, String attributeValue): Telerik.Web.UI.RadTreeNode
attributeName
attributeValueStringattributeValue
Returns:Telerik.Web.UI.RadTreeNode
Gets the first instance of a Node with the specified text.
findNodeByText(String text): Telerik.Web.UI.RadTreeNode
Text of the Node
Returns:Telerik.Web.UI.RadTreeNode
Returns the first RadTreeNode object whose NavigateUrl property is equal to the passed parameter.
findNodeByUrl(String url): Telerik.Web.UI.RadTreeNode
NavigateUrl of the Node
Returns:Telerik.Web.UI.RadTreeNode
Gets the first instance of a Node with the specified value.
findNodeByValue(String value): Telerik.Web.UI.RadTreeNode
Value of the Node
Returns:Telerik.Web.UI.RadTreeNode
Returns an array of all the Nodes within the TreeView.
get_allNodes(): Telerik.Web.UI.RadTreeNode[]
Telerik.Web.UI.RadTreeNode[]
Returns an array of all the Nodes within the TreeView.
True if the AllowNodeEditing property is enabled, false otherwise.
get_allowNodeEditing(): Boolean
Boolean
Boolean
get_checkedIndexes(): void
Returns an array of the checked nodes when CheckBoxes="True".
get_checkedNodes(): Array
Array
Array
Returns the DOM element for the root list of nodes in the treeview
get_childListElement(): Element
Element
DOM element for the root nodes list
Returns the value of the TreeView's ClientNodeTemplate property.
get_clientTemplate(): void
get_collapseAnimation(): void
get_collapsedIndexes(): void
Returns an Array containing the IDs of the treeview context menus
get_contextMenuIDs(): Array
Array
Array
Returns an Array of the treeview context menus
get_contextMenus(): Array
Array
Array
Returns the DOM element for the dragged node (during OnClientNodeDragging event handler)
get_draggingClueElement(): Element
Element
DOM element for the dragged node
Gets a reference to the DIV element that wraps the TreeView.
get_element(): Element
Element
Gets the enabled state of the TreeView.
get_enabled(): Boolean
Boolean
True if the EnableDragAndDrop property is enabled, false otherwise.
get_enableDragAndDrop(): Boolean
Boolean
Boolean
True if the EnableDragAndDropBetweenNodes property is enabled, false otherwise.
get_enableDragAndDropBetweenNodes(): Boolean
Boolean
Boolean
get_expandAnimation(): void
get_expandedIndexes(): void
Gets the server ID of the control.
get_id(): Object
Object
Returns the value of the RadTreeView's LoadingMessage property. The default value is "Loading..."
get_loadingMessage(): String
String
String
Returns the value of the RadTreeView's LoadingStatusPosition property.
get_loadingStatusPosition(): Number
Number
Number
True if MultipleSelect property is enabled, false otherwise.
get_multipleSelect(): Boolean
Boolean
Boolean
get_nodeData(): void
Returns the root level RadTreeNodeCollection.
get_nodes(): Telerik.Web.UI.RadTreeNodeCollection
Telerik.Web.UI.RadTreeNodeCollection
Telerik.Web.UI.RadTreeNodeCollection
True if the PersistLoadOnDemandNodes property is enabled, false otherwise.
get_persistLoadOnDemandNodes(): Boolean
Boolean
Boolean
get_selectedIndexes(): void
Gets the instance of the currently selected Node. Null if none.
get_selectedNode(): Telerik.Web.UI.RadTreeNode
Telerik.Web.UI.RadTreeNode
RadTreeNode
Gets an Array of all selected Nodes (useful when MultipleSelect property is trackChanges, so that they are preserved
get_selectedNodes(): Array
Array
Array
True if the SingleExpandPath property is enables, false otherwise.
get_singleExpandPath(): Boolean
Boolean
Boolean
get_webServiceSettings(): void
saveClientState(): void
Selects all Nodes at all levels of the tree
selectAllNodes(): Object
Object
Selects the passed nodes (if MultipleSelection is enabled), or only the last from the passed nodes (if MultipleSelection is disabled). The parameter is only one and can be Telerik.Web.UI.RadTreeNodeCollection or regular Array.
selectNodes(Telerik.Web.UI.RadTreeNodeCollection nodes): void
The nodes to be selected
Enables/Disables node editing.
set_allowNodeEditing(Boolean value): void
value
set_checkedIndexes(): void
Sets the value of the TreeView's ClientNodeTemplate property.
set_clientTemplate(String value): void
value
set_collapseAnimation(): void
set_collapsedIndexes(): void
set_contextMenuIDs(): void
Enables/Disables the TreeView.
set_enabled(Boolean value): void
value
Enables/Disables drag and drop.
set_enableDragAndDrop(Boolean value): void
value
Enables/Disables drag and drop between nodes.
set_enableDragAndDropBetweenNodes(Boolean value): void
value
set_expandAnimation(): void
set_expandedIndexes(): void
Sets a loading message to the TreeView.
set_loadingMessage(String value): void
value
Sets the value of LoadingStatusPosition property.
set_loadingStatusPosition(Number value): void
value
Enables/Disables multiple selection.
set_multipleSelect(Boolean value): void
value
set_nodeData(): void
Enables/Disables PersistLoadOnDemandNodes property.
set_persistLoadOnDemandNodes(Boolean value): void
value
set_selectedIndexes(): void
Enables/Disables SingleExpandPath property.
set_singleExpandPath(Boolean value): void
value
set_webServiceSettings(): void
Displays the context menu for a Node which is equal to the first parameter using pair as a second parameter.
showNodeContextMenu(Telerik.Web.UI.RadTreeNode node, Sys.UI.DomEvent domEvent): void
node
domEventSys.UI.DomEventdomEvent
Unchecks all nodes of the TreeView.
uncheckAllNodes(): void
Unchecks the passed nodes. The parameter is only one and can be Telerik.Web.UI.RadTreeNodeCollection or regular Array.
uncheckNodes(Telerik.Web.UI.RadTreeNodeCollection nodes): void
The nodes to be unchecked
Un-selects all Nodes at all levels of the tree.
unselectAllNodes(): void
Unelects the passed nodes. The parameter is only one and can be Telerik.Web.UI.RadTreeNodeCollection or regular Array.
unselectNodes(Telerik.Web.UI.RadTreeNodeCollection nodes): void
The nodes to be unselected