Click or drag to resize
KaxTreeView Properties

The KaxTreeView type exposes the following members.

Properties
  Name Description
Public property Code example AllowNodeEditing
Gets a value indicating whether the text of the tree nodes are edinodele in the browser.
Public property CheckBoxes
When set to true displays a checkbox next to each treenode.
Public property CheckChildNodes
Gets or sets a value indicating whether checking (unchecking) a node will check (uncheck) its child nodes.
Public property Code example CheckedNodes
Gets a collection of KaxTreeNode objects that represent the nodes in the control that display a selected check box.
Public property Code example ClientChanges
Gets a list of all client-side changes (adding a node, removing a node, changing a node's property) which have occurred.
Public property Code example CollapseAnimation
Gets the settings for the animation played when a node closes.
Public property Code example ContextMenus
Gets a collection of KaxTreeViewContextMenu objects that represent the context menus of a KaxTreeView control.
Public property DataBindings
Gets a collection of KaxTreeNodeBindingCollection objects that define the relationship between a data item and the tree node it is binding to.
Public property EnableAriaSupport
When set to true enables support for WAI-ARIA
Public property EnableDragAndDrop
When set to true enables drag-and-drop functionality
Public property EnableDragAndDropBetweenNodes
When set to true enables drag-and-drop visual clue (underline) between nodes while draggin
Public property Code example ExpandAnimation
Gets the settings for the animation played when a node opens.
Public property IsEmpty
Gets a value indicating whether the KaxTreeView control has no nodes.
Public property Code example LoadingMessage
Gets or sets the loading message that is displayed when child nodes are retrieved on AJAX calls.
Public property Code example LoadingStatusPosition
Gets or sets the position of the loading message when child nodes are retrieved on AJAX calls.
Public property LoadingStatusTemplate
Public property MaxDataBindDepth
Gets or sets the maximum number of levels to bind to the KaxTreeView control.
(Overrides HierarchicalControlItemContainerMaxDataBindDepth.)
Public property MultipleSelect
When set to true the treeview allows multiple node selection (by holding down ctrl key while selecting nodes)
Public property Code example Nodes
Gets a KaxTreeNodeCollection object that contains the root nodes of the current KaxTreeView control.
Public property NodeTemplate
Gets or sets the template for displaying all node in the current KaxTreeView.
Public property OnClientContextMenuItemClicked
The name of the JavaScript function that will be called after the user clicks on a context menu item.
Public property OnClientContextMenuItemClicking
The name of the JavaScript function that will be called when the user clicks on a context menu item.
Public property OnClientContextMenuShowing
The name of the JavaScript function that will be called when a context menu is to be displayed.
Public property OnClientContextMenuShown
The name of the JavaScript function that will be called after context menu is displayed.
Public property OnClientDoubleClick
The name of the JavaScript function that will be called when the user double clicks on a node.
Public property OnClientKeyPressing
The name of the JavaScript function that will be called when a key is pressed.
Public property OnClientLoad
Gets or sets the name of the JavaScript function called when the control is fully initialized on the client side.
Public property OnClientMouseOut
The name of the JavaScript function that will be called when the mouse hovers away from the TreeView.
Public property OnClientMouseOver
The name of the JavaScript function that will be called when the user highlights a treenode.
Public property OnClientNodeAnimationEnd
Gets or sets the name of the JavaScript function called when a node's expand/collapse animation finishes
Public property OnClientNodeChecked
The name of the JavaScript function that will be called after the user checks (checkbox) a treenode.
Public property OnClientNodeChecking
The name of the JavaScript function that will be called when the user checks (checkbox) a treenode.
Public property OnClientNodeClicked
The name of the JavaScript function that will be called after click on a treenode. Used for AJAX/callback hooks.
Public property OnClientNodeClicking
The name of the JavaScript function that will be called upon click on a treenode. The function must accept a single parameter which is the instance of the node clicked. For example if you define OnClientClick="ProcessClientClick", you must define a javascript function defined in the following way (example):

function ProcessClientClick(node) { alert("You clicked on: " + node.Text); }
Public property OnClientNodeCollapsed
The name of the JavaScript function that will be called after a node is collapsed.
Public property OnClientNodeCollapsing
The name of the JavaScript function that will be called before a node is collapsed.
Public property OnClientNodeDataBound
Gets or sets the name of the JavaScript function called when a node is databound during load on demand
Public property OnClientNodeDragging
The name of the JavaScript function that will be called when the user moves the mouse while dragging a node.
Public property OnClientNodeDragStart
The name of the JavaScript function that will be called when the user starts dragging a node.
Public property OnClientNodeDropped
The name of the JavaScript function that will be called after the user drops a node onto another node.
Public property OnClientNodeDropping
The name of the JavaScript function that will be called when the user drops a node onto another node.
Public property OnClientNodeEdited
The name of the JavaScript function that will be called after the user edits a node
Public property OnClientNodeEditing
The name of the JavaScript function that will be called before the user edits a node
Public property OnClientNodeEditStart
Gets or sets the name of the JavaScript function called when a node starts being edited
Public property OnClientNodeExpanded
The name of the JavaScript function that will be called after a node is expanded.
Public property OnClientNodeExpanding
The name of the JavaScript function that will be called before a node is expanded.
Public property Code example OnClientNodePopulated
Gets or sets a value indicating the client-side event handler that is called when the children of a tree node were just populated (for example from web service).
Public property Code example OnClientNodePopulating
Gets or sets a value indicating the client-side event handler that is called when the children of a tree node are about to be populated (for example from web service).
Public property Code example OnClientNodePopulationFailed
Gets or sets a value indicating the client-side event handler that is called when the operation for populating the children of a tree node has failed.
Public property PersistLoadOnDemandNodes
When set to true, the nodes populated through Load On Demand are persisted on the server.
Public property PostBackUrl
Gets or sets the URL of the page to post to from the current page when a tree node is clicked.
(Overrides ControlItemContainerPostBackUrl.)
Public property Code example SelectedNode
Gets a KaxTreeNode object that represents the selected node in the KaxTreeView control.
Public property SelectedNodes
Gets a collection of KaxTreeNode objects that represent the nodes in the control that are currently selected.
Public property SelectedValue
Gets the Value of the selected node.
Public property ShowLineImages
Gets a value indicating whether the dotted lines indenting the nodes should be displayed or not.
Public property SingleExpandPath
Gets a value indicating whether only the current branch of the treeview is expanded.
Public property TriStateCheckBoxes
Gets or sets a value indicating whether KaxTreeView should display tri-state checkboxes.
Public property UniqueID (Overrides ControlUniqueID.)
Public property WebServiceSettings
Gets the settings for the web service used to populate nodes when ExpandMode set to TreeNodeExpandMode.WebService.
Top
See Also