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

DateInputMessagesSettingsBuilder

Methods

Year(System.String)

The placeholder for the years part.

Parameters

value - System.String

The value that configures the year placeholder.

Example


            @(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 that configures the month placeholder.

Example


            @(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 that configures the day placeholder.

Example


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

Weekday(System.String)

The placeholder for the weekday part.

Parameters

value - System.String

The value that configures the weekday placeholder.

Example


            @(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 that configures the hours placeholder.

Example


            @(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 that configures the minutes placeholder.

Example


            @(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 that configures the seconds placeholder.

Example


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

Dayperiod(System.String)

The placeholder for the dayperiod part.

Parameters

value - System.String

The value that configures the dayperiod placeholder.

Example


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

In this article
Not finding the help you need?