DateInputMessagesSettingsBuilder

Methods

Year(System.String)

The placeholder for the years part.

Parameters

value - System.String

The value for Year

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Year("year"))
            )
             

Month(System.String)

The placeholder for the months part.

Parameters

value - System.String

The value for Month

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Month("month"))
            )
             

Day(System.String)

The placeholder for the day of the month part.

Parameters

value - System.String

The value for Day

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Day("day"))
            )
             

Weekday(System.String)

The placeholder for the day of the week part.

Parameters

value - System.String

The value for Weekday

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Weekday("day of week"))
            )
             

Hour(System.String)

The placeholder for the hours part.

Parameters

value - System.String

The value for Hour

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Hour("hour"))
            )
             

Minute(System.String)

The placeholder for the minutes part.

Parameters

value - System.String

The value for Minute

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Minute("min"))
            )
             

Second(System.String)

The placeholder for the seconds part.

Parameters

value - System.String

The value for Second

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Second("seconds"))
            )
             

Dayperiod(System.String)

The placeholder for the AM/PM part.

Parameters

value - System.String

The value for Dayperiod

RETURNS

Returns the current DateInputMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Dayperiod("AM/PM"))
            )