Defines the fluent interface for configuring the DataSource component client-side events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DataSourceEventBuilder : EventBuilder
Inheritance: objectEventBuilderDataSourceEventBuilder
Inherited Members
Constructors
Initializes a new instance of the DataSourceEventBuilder class.
public DataSourceEventBuilder(IDictionary<string, object> events)
The events list.
Methods
Defines the inline handler of the Change client-side event.
public DataSourceEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the name of the JavaScript function that will handle the Change client-side event.
public DataSourceEventBuilder Change(string handler)
The name of the JavaScript function that will handle the event.
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the inline handler of the Error client-side event.
public DataSourceEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the name of the JavaScript function that will handle the Error client-side event.
public DataSourceEventBuilder Error(string handler)
The name of the JavaScript function that will handle the event.
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the inline handler of the Push client-side event.
public DataSourceEventBuilder Push(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the name of the JavaScript function that will handle the Push client-side event.
public DataSourceEventBuilder Push(string handler)
The name of the JavaScript function that will handle the event.
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the inline handler of the RequestEnd client-side event.
public DataSourceEventBuilder RequestEnd(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the name of the JavaScript function that will handle the RequestEnd client-side event.
public DataSourceEventBuilder RequestEnd(string handler)
The name of the JavaScript function that will handle the event.
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the inline handler of the RequestStart client-side event.
public DataSourceEventBuilder RequestStart(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the name of the JavaScript function that will handle the RequestStart client-side event.
public DataSourceEventBuilder RequestStart(string handler)
The name of the JavaScript function that will handle the event.
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the inline handler of the Sync client-side event.
public DataSourceEventBuilder Sync(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:The DataSourceEventBuilder instance for method chaining.
Defines the name of the JavaScript function that will handle the Sync client-side event.
public DataSourceEventBuilder Sync(string handler)
The name of the JavaScript function that will handle the event.
Returns:The DataSourceEventBuilder instance for method chaining.