New to Telerik UI for ASP.NET Core? Download free 30-day trial

TreeViewEventBuilder

Defines the fluent API for configuring the Kendo UI TreeView for ASP.NET MVC events.

Methods

Change(System.String)

Triggered when the selection has changed (either by the user or through the select method).

For more information see Change event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the change event.

Change(System.Func)

Triggered when the selection has changed (either by the user or through the select method).

For more information see Change event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Check(System.String)

Triggered after the user has checked or unchecked a checkbox. If checkChildren is true, the event is triggered after all checked states are updated. This event has been introduced in internal builds after 2014.2.828.

For more information see Check event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the check event.

Check(System.Func)

Triggered after the user has checked or unchecked a checkbox. If checkChildren is true, the event is triggered after all checked states are updated. This event has been introduced in internal builds after 2014.2.828.

For more information see Check event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Collapse(System.String)

Triggered before a subgroup gets collapsed. Cancellable.

For more information see Collapse event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the collapse event.

Collapse(System.Func)

Triggered before a subgroup gets collapsed. Cancellable.

For more information see Collapse event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DataBound(System.String)

Triggered after the dataSource change event has been processed (adding/removing items);

For more information see DataBound event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dataBound event.

DataBound(System.Func)

Triggered after the dataSource change event has been processed (adding/removing items);

For more information see DataBound event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Drag(System.String)

Triggered while a node is being dragged.

For more information see Drag event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the drag event.

Drag(System.Func)

Triggered while a node is being dragged.

For more information see Drag event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DragEnd(System.String)

Triggered after a node has been dropped.

For more information see DragEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dragend event.

DragEnd(System.Func)

Triggered after a node has been dropped.

For more information see DragEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DragStart(System.String)

Triggered before the dragging of a node starts.

For more information see DragStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dragstart event.

DragStart(System.Func)

Triggered before the dragging of a node starts.

For more information see DragStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Drop(System.String)

Triggered when a node is being dropped.

For more information see Drop event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the drop event.

Drop(System.Func)

Triggered when a node is being dropped.

For more information see Drop event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Expand(System.String)

Triggered before a subgroup gets expanded.

For more information see Expand event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the expand event.

Expand(System.Func)

Triggered before a subgroup gets expanded.

For more information see Expand event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

LoadCompleted(System.String)

This event triggers only when loadOnDemand is set to false - it indicates that all nodes that need to be loaded are ready and present as data items in the DataSource of the TreeView.

For more information see LoadCompleted event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the loadCompleted event.

LoadCompleted(System.Func)

This event triggers only when loadOnDemand is set to false - it indicates that all nodes that need to be loaded are ready and present as data items in the DataSource of the TreeView.

For more information see LoadCompleted event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

KendoKeydown(System.String)

Triggered when the user presses a keyboard key while the TreeView is focused.

For more information see KendoKeydown event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the kendoKeydown event.

KendoKeydown(System.Func)

Triggered when the user presses a keyboard key while the TreeView is focused.

For more information see KendoKeydown event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Triggered when the user moves the focus on another node

For more information see Navigate event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the navigate event.

Triggered when the user moves the focus on another node

For more information see Navigate event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Select(System.String)

Triggered when a node is being selected by the user. Cancellable.

For more information see Select event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the select event.

Select(System.Func)

Triggered when a node is being selected by the user. Cancellable.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?