Kendo.Mvc.UI.Fluent.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 additional information check the change event documentation.

Parameters

handler System.String

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

Change(System.Func<System.Object,System.Object>)

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

For additional information check the change event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the check event documentation.

Parameters

handler System.String

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

Check(System.Func<System.Object,System.Object>)

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 additional information check the check event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Collapse(System.String)

Triggered before a subgroup gets collapsed. Cancellable.

For additional information check the collapse event documentation.

Parameters

handler System.String

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

Collapse(System.Func<System.Object,System.Object>)

Triggered before a subgroup gets collapsed. Cancellable.

For additional information check the collapse event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the dataBound event documentation.

Parameters

handler System.String

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

DataBound(System.Func<System.Object,System.Object>)

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

For additional information check the dataBound event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Drag(System.String)

Triggered while a node is being dragged.

For additional information check the drag event documentation.

Parameters

handler System.String

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

Drag(System.Func<System.Object,System.Object>)

Triggered while a node is being dragged.

For additional information check the drag event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DragEnd(System.String)

Triggered after a node has been dropped.

For additional information check the dragEnd event documentation.

Parameters

handler System.String

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

DragEnd(System.Func<System.Object,System.Object>)

Triggered after a node has been dropped.

For additional information check the dragEnd event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DragStart(System.String)

Triggered before the dragging of a node starts.

For additional information check the dragStart event documentation.

Parameters

handler System.String

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

DragStart(System.Func<System.Object,System.Object>)

Triggered before the dragging of a node starts.

For additional information check the dragStart event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Drop(System.String)

Triggered when a node is being dropped.

For additional information check the drop event documentation.

Parameters

handler System.String

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

Drop(System.Func<System.Object,System.Object>)

Triggered when a node is being dropped.

For additional information check the drop event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Expand(System.String)

Triggered before a subgroup gets expanded.

For additional information check the expand event documentation.

Parameters

handler System.String

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

Expand(System.Func<System.Object,System.Object>)

Triggered before a subgroup gets expanded.

For additional information check the expand event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Navigate(System.String)

Triggered when the user moves the focus on another node

For additional information check the navigate event documentation.

Parameters

handler System.String

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

Navigate(System.Func<System.Object,System.Object>)

Triggered when the user moves the focus on another node

For additional information check the navigate event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Select(System.String)

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

For additional information check the select event documentation.

Parameters

handler System.String

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

Select(System.Func<System.Object,System.Object>)

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

For additional information check the select event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.