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.

Example


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

Month(System.String)

The placeholder for the months part.

Parameters

value - System.String

The value that configures the month.

Example


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

Day(System.String)

The placeholder for the day of the month part.

Parameters

value - System.String

The value that configures the day.

Example


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

Weekday(System.String)

The placeholder for the day of the week part.

Parameters

value - System.String

The value that configures the weekday.

Example


            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Weekday("Value"))
            )

Hour(System.String)

The placeholder for the hours part.

Parameters

value - System.String

The value that configures the hour.

Example


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

Minute(System.String)

The placeholder for the minutes part.

Parameters

value - System.String

The value that configures the minute.

Example


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

Second(System.String)

The placeholder for the seconds part.

Parameters

value - System.String

The value that configures the second.

Example


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

Dayperiod(System.String)

The placeholder for the AM/PM part.

Parameters

value - System.String

The value that configures the dayperiod.

Example


            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Messages(m =>m.Dayperiod("Value"))
            )

In this article
Not finding the help you need?