ListViewEventBuilder
Defines the fluent API for configuring the Kendo UI 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
Defines the handler of the Cancel client-side event. 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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Cancel client-side event. 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 Cancel event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Change client-side event. 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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Change client-side event. 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 Change event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the DataBinding client-side event. 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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the DataBinding client-side event. 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 DataBinding event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the DataBound client-side event. 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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the DataBound client-side event. 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 DataBound event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Edit client-side event. 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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Edit client-side event. 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 Edit event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ListView is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ListView is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Remove client-side event. Fires before the list view item is put in edit mode. If the event is not prevented, the ListView will call the DataSource sync method.The event handler function context (available via the this keyword) will be set to the widget instance.
public ListViewEventBuilder Remove(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Remove client-side event. Fires before the list view item is put in edit mode. If the event is not prevented, the ListView will call the DataSource sync method.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 Remove event.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Save client-side event. 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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ListViewEventBuilder .
Defines the handler of the Save client-side event. 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 Save event.
Returns:Returns the current instance of ListViewEventBuilder .