Defines the fluent API for configuring the Kendo UI DropDownTree for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DropDownTreeEventBuilder : EventBuilder
Inheritance: objectEventBuilderDropDownTreeEventBuilder
Inherited Members
Constructors
Initializes a new instance of the DropDownTreeEventBuilder class.
public DropDownTreeEventBuilder(IDictionary<string, object> events)
The DropDownTree event handlers.
Methods
Defines the handler of the Change client-side event. Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Change client-side event. Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Close client-side event. Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Close(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Close client-side event. Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Close(string handler)
The name of the JavaScript function that will handle the Close event.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Filtering client-side event. Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Filtering(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Filtering client-side event. Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Filtering(string handler)
The name of the JavaScript function that will handle the Filtering event.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the DropDownTree is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the DropDownTree is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Open client-side event. Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Open(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Open client-side event. Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
public DropDownTreeEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Select client-side event. Triggered when a node is being selected by the user. Cancellable. When checkboxes are enabled, it is also triggered when a node is being deselected.
public DropDownTreeEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DropDownTreeEventBuilder .
Defines the handler of the Select client-side event. Triggered when a node is being selected by the user. Cancellable. When checkboxes are enabled, it is also triggered when a node is being deselected.
public DropDownTreeEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of DropDownTreeEventBuilder .