Edit this page

Kendo.Mvc.UI.Fluent.DateInputBuilder

Defines the fluent API for configuring the Kendo DateInput for ASP.NET MVC.

Methods

Format(System.String)

Specifies the format, which is used to format the value of the DateInput displayed in the input. The format also will be used to parse the input.

Parameters

value System.String

The value that configures the format.

Max(System.DateTime)

Specifies the maximum date which can be entered in the input.

Parameters

value System.DateTime

The value that configures the max.

Min(System.DateTime)

Specifies the minimum date that which be entered in the input.

Parameters

value System.DateTime

The value that configures the min.

Value(System.DateTime)

Specifies the selected date.

Parameters

value System.DateTime

The value that configures the value.

Messages(System.Action<Kendo.Mvc.UI.Fluent.DateInputMessagesSettingsBuilder>)

The messages that DateInput uses. Use it to customize or localize the placeholders of each date/time part.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DateInputMessagesSettingsBuilder>

The action that configures the messages.

Events(System.Action<Kendo.Mvc.UI.Fluent.DateInputEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DateInputEventBuilder>

The client events action.

Example (ASPX)

<%= Html.Kendo().DateInput()
.Name("DateInput")
.Events(events => events
    .Change("onChange")
)
%>