Kendo.Mvc.UI.Fluent.ListViewEventBuilder

Defines the fluent API for configuring the Kendo UI ListView for ASP.NET MVC events.

Methods

Cancel(System.String)

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.

For additional information check the cancel event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the cancel event.

Cancel(System.Func<System.Object,System.Object>)

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.

For additional information check the cancel event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Change(System.String)

Fires when the ListView selection has changed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the change event.

Change(System.Func<System.Object,System.Object>)

Fires when the ListView selection has changed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DataBound(System.String)

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.

For additional information check the dataBound event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the dataBound event.

DataBound(System.Func<System.Object,System.Object>)

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.

For additional information check the dataBound event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DataBinding(System.String)

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.

For additional information check the dataBinding event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the dataBinding event.

DataBinding(System.Func<System.Object,System.Object>)

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.

For additional information check the dataBinding event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Edit(System.String)

Fires when the ListView enters edit mode.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the edit event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the edit event.

Edit(System.Func<System.Object,System.Object>)

Fires when the ListView enters edit mode.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the edit event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Remove(System.String)

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.

For additional information check the remove event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the remove event.

Remove(System.Func<System.Object,System.Object>)

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.

For additional information check the remove event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Save(System.String)

Fired when a data item is saved.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the save event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the save event.

Save(System.Func<System.Object,System.Object>)

Fired when a data item is saved.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the save event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.