New to Telerik UI for ASP.NET Core? Start a free 30-day trial

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

Definition

Constructors

Initializes a new instance of the TimeDurationPickerEventBuilder class.

C#
public TimeDurationPickerEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The TimeDurationPicker event handlers.

Methods

Defines the handler of the Change client-side event. Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public TimeDurationPickerEventBuilder Change(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the Change client-side event. Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public TimeDurationPickerEventBuilder Change(string handler)
Parameters:handlerstring

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

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the Close client-side event. Fires when the popup is closed

C#
public TimeDurationPickerEventBuilder Close(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the Close client-side event. Fires when the popup is closed

C#
public TimeDurationPickerEventBuilder Close(string handler)
Parameters:handlerstring

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

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TimeDurationPicker is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public TimeDurationPickerEventBuilder KendoKeydown(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TimeDurationPicker is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public TimeDurationPickerEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the Open client-side event. Fires when the time drop-down list is opened

C#
public TimeDurationPickerEventBuilder Open(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .

Defines the handler of the Open client-side event. Fires when the time drop-down list is opened

C#
public TimeDurationPickerEventBuilder Open(string handler)
Parameters:handlerstring

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

Returns:

TimeDurationPickerEventBuilder

Returns the current instance of TimeDurationPickerEventBuilder .