New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.Fluent.TimePickerBuilder

Defines the fluent interface for configuring the TimePicker component.

Methods

Value(System.Nullable<System.TimeSpan>)

Sets the value of the timepicker input

Min(System.TimeSpan)

Sets the minimum time, which can be selected in timepicker

Min(System.String)

Sets the minimum time, which can be selected in timepicker

Max(System.TimeSpan)

Sets the maximum time, which can be selected in timepicker

Max(System.String)

Sets the maximum time, which can be selected in timepicker

Interval(System.Int32)

Sets the interval between hours.

BindTo(System.Collections.Generic.IList<System.DateTime>)

Binds the TimePicker to a list of DateTime objects.

Example (ASPX)

<%: Html.Kendo().TimePicker()
    .Name("TimePicker")
    .BindTo(new List<DateTime>
{
    DateTime.Now
})
%>

ComponentType(System.String)

Specifies the component type of the widget. "classic" - Uses the standard rendering of the widget. or "modern" - Uses new rendering with a fresh and modern look and feel..

Parameters

value System.String

The value for ComponentType

In this article
Not finding the help you need?