Kendo.Mvc.UI.Fluent.DateInputBuilder

Defines the fluent API for configuring the Kendo UI DateInput

Methods

Max(System.Nullable<System.DateTime>)

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

Parameters

value System.Nullable<System.DateTime>

The value for Max

Min(System.Nullable<System.DateTime>)

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

Parameters

value System.Nullable<System.DateTime>

The value for Min

Value(System.Nullable<System.DateTime>)

Specifies the selected date.

Parameters

value System.Nullable<System.DateTime>

The value for Value

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 for Format

Max(System.DateTime)

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

Parameters

value System.DateTime

The value for Max

Min(System.DateTime)

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

Parameters

value System.DateTime

The value for Min

Value(System.DateTime)

Specifies the selected date.

Parameters

value System.DateTime

The value for 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 configurator for the messages setting.

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")
    )
)