Defines the fluent API for configuring the Kendo UI DateRangePicker for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DateRangePickerEventBuilder : EventBuilder
Inheritance: objectEventBuilderDateRangePickerEventBuilder
Inherited Members
Constructors
Initializes a new instance of the DateRangePickerEventBuilder class.
public DateRangePickerEventBuilder(IDictionary<string, object> events)
The DateRangePicker event handlers.
Methods
Defines the handler of the Change client-side event. Fires when the selected date is changed
public DateRangePickerEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the Change client-side event. Fires when the selected date is changed
public DateRangePickerEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the Close client-side event. Fires when the calendar is closed
public DateRangePickerEventBuilder Close(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the Close client-side event. Fires when the calendar is closed
public DateRangePickerEventBuilder Close(string handler)
The name of the JavaScript function that will handle the Close event.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the DateRangePicker is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public DateRangePickerEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the DateRangePicker is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public DateRangePickerEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the Open client-side event. Fires when the calendar is opened
public DateRangePickerEventBuilder Open(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of DateRangePickerEventBuilder .
Defines the handler of the Open client-side event. Fires when the calendar is opened
public DateRangePickerEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Returns the current instance of DateRangePickerEventBuilder .