DropDownTreeEventBuilder
Methods
Change(System.String)
Fired when the value of the widget is changed by the user.
For more information see Change event.
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 more information see Open event.
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 more information see DataBound event.
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 more information see Close event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the close event.
Filtering(System.String)
Triggered before filtering.
For more information see Filtering event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the close event.
Open(System.Func)
Defines the inline handler of the open client-side event
For more information see Open event.
Parameters
onOpenAction - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Open(
@<text>
function(e) {
// event handling code
}
</text>
))
.Render();
)
DataBound(System.Func)
Defines the inline handler of the dataBound client-side event
For more information see DataBound event.
Parameters
onDataBoundAction - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.DataBound(
@<text>
function(e) {
// event handling code
}
</text>
))
.Render();
)
Close(System.Func)
Defines the inline handler of the close client-side event
For more information see Close event.
Parameters
onCloseAction - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Close(
@<text>
function(e) {
// event handling code
}
</text>
))
.Render();
)
Filtering(System.Func)
Defines the inline handler of the close client-side event
For more information see Filtering event.
Parameters
onFilteringAction - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Filtering(
@<text>
function(e) {
// event handling code
}
</text>
))
.Render();
)
Change(System.Func)
Defines the inline handler of the change client-side event
For more information see Change event.
Parameters
onChangeAction - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Change(
@<text>
function(e) {
// event handling code
}
</text>
))
.Render();
)
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.