ListViewEventBuilder
Defines the fluent API for configuring the Kendo ListView for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ListViewEventBuilder : EventBuilder
Inheritance: objectEventBuilderListViewEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ListViewEventBuilder class.
public ListViewEventBuilder(IDictionary<string, object> events)
The ListView event handlers.
Methods
Fired when the user clicks the "cancel" button. The event handler function context (available via the this keyword) will be set to the widget instance.
Fired when the user clicks the "cancel" button. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fires when the ListView selection has changed. The event handler function context (available via the this keyword) will be set to the widget instance.
Fires when the ListView selection has changed. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder Change(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fires when the ListView is about to be bound. The event handler function context (available via the this keyword) will be set to the widget instance.
Fires when the ListView is about to be bound. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fires when the ListView has received data from the DataSource and it is already rendered. The event handler function context (available via the this keyword) will be set to the widget instance.
Fires when the ListView has received data from the DataSource and it is already rendered. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fires when the ListView enters edit mode. The event handler function context (available via the this keyword) will be set to the widget instance.
Fires when the ListView enters edit mode. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the KendoKeydown client-side event.
public virtual ListViewEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fires before an item is removed. The event handler function context (available via the this keyword) will be set to the widget instance.
Fires before an item is removed. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fired when a data item is saved. The event handler function context (available via the this keyword) will be set to the widget instance.
Fired when a data item is saved. The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder Save(string handler)
The name of the JavaScript function that will handle the event.
Returns: