ListBoxEventBuilder
Defines the fluent API for configuring the Kendo ListBox for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ListBoxEventBuilder : EventBuilder
Inheritance: objectEventBuilderListBoxEventBuilder
Inherited Members
Constructors
public ListBoxEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the Add client-side event. Fires before an item is added to the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Add(string handler)
The name of the JavaScript function that will handle the Add event.
Returns:Defines the handler of the Change client-side event. Fires when the ListBox selection has changed.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Defines the handler of the DataBound client-side event. Fires when the ListBox has received data from the data source and is already rendered.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Defines the handler of the Drag client-side event. Fires when the placeholder of the ListBox changes its position.
public ListBoxEventBuilder Drag(string handler)
The name of the JavaScript function that will handle the Drag event.
Returns:Defines the handler of the DragEnd client-side event. Fires when the dragging of the item ends but before its position is changed in the DOM.
public ListBoxEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns:Defines the handler of the DragStart client-side event. Fires when the dragging of the ListBox items starts.
public ListBoxEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns:Defines the handler of the Drop client-side event. Fires when a ListBox item is dropped over one of the drop targets.
public ListBoxEventBuilder Drop(string handler)
The name of the JavaScript function that will handle the Drop event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ListBox is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ListBoxEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the Remove client-side event. Fires before an item is removed from the ListBox.The function context of the event handler (available through the this keyword) that will be set to the widget instance.
public ListBoxEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Defines the handler of the Reorder client-side event. Fires when ListBox items are reordered.
public ListBoxEventBuilder Reorder(string handler)
The name of the JavaScript function that will handle the Reorder event.
Returns: