Kendo.Mvc.UI.Fluent.DropDownTreeEventBuilder

Defines the fluent API for configuring the events of the Kendo DropDownTree for ASP.NET MVC

Methods

Change(System.String)

Fired when the value of the widget is changed by the user.

For additional information check the change event documentation.

Parameters

handler System.String

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

Open(System.String)

Fired when the popup of the widget is opened by the user.

For additional information check the open event documentation.

Parameters

handler System.String

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

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.

Close(System.String)

Fired when the popup of the widget is closed.

For additional information check the close event documentation.

Parameters

handler System.String

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

Filtering(System.String)

Triggered before filtering.

For additional information check the filtering event documentation.

Parameters

handler System.String

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

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

Defines the inline handler of the open client-side event

For additional information check the open event documentation.

Parameters

onOpenAction System.Func<System.Object,System.Object>

The handler code wrapped in a text tag (Razor syntax).

Example (ASPX)

<% Html.Kendo().DropDownTree()
    .Name("DropDownTree")
    .Events(events => events.Open(
            @<text>
                function(e) {
                // event handling code
                }
                </text>
                ))
                .Render();
                %>

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

Defines the inline handler of the dataBound client-side event

For additional information check the dataBound event documentation.

Parameters

onDataBoundAction System.Func<System.Object,System.Object>

The handler code wrapped in a text tag (Razor syntax).

Example (ASPX)

<% Html.Kendo().DropDownTree()
    .Name("DropDownTree")
    .Events(events => events.DataBound(
            @<text>
                function(e) {
                // event handling code
                }
                </text>
                ))
                .Render();
                %>

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

Defines the inline handler of the close client-side event

For additional information check the close event documentation.

Parameters

onCloseAction System.Func<System.Object,System.Object>

The handler code wrapped in a text tag (Razor syntax).

Example (ASPX)

<% Html.Kendo().DropDownTree()
    .Name("DropDownTree")
    .Events(events => events.Close(
            @<text>
                function(e) {
                // event handling code
                }
                </text>
                ))
                .Render();
                %>

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

Defines the inline handler of the close client-side event

For additional information check the filtering event documentation.

Parameters

onFilteringAction System.Func<System.Object,System.Object>

The handler code wrapped in a text tag (Razor syntax).

Example (ASPX)

<% Html.Kendo().DropDownTree()
    .Name("DropDownTree")
    .Events(events => events.Filtering(
            @<text>
                function(e) {
                // event handling code
                }
                </text>
                ))
                .Render();
                %>

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

Defines the inline handler of the change client-side event

For additional information check the change event documentation.

Parameters

onChangeAction System.Func<System.Object,System.Object>

The handler code wrapped in a text tag (Razor syntax).

Example (ASPX)

<% Html.Kendo().DropDownTree()
    .Name("DropDownTree")
    .Events(events => events.Change(
            @<text>
                function(e) {
                // event handling code
                }
                </text>
                ))
                .Render();
                %>