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

Defines the fluent API for configuring the DateInputMessagesSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DateInputMessagesSettingsBuilder

Inheritance: objectDateInputMessagesSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DateInputMessagesSettingsBuilder(DateInputMessagesSettings settings)
Parameters:settingsDateInputMessagesSettings

Methods

The placeholder for the day of the month part.

C#
public DateInputMessagesSettingsBuilder Day(string value)
Parameters:valuestring

The value that configures the day placeholder.

Returns:

DateInputMessagesSettingsBuilder

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

The placeholder for the dayperiod part.

C#
public DateInputMessagesSettingsBuilder Dayperiod(string value)
Parameters:valuestring

The value that configures the dayperiod placeholder.

Returns:

DateInputMessagesSettingsBuilder

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

The placeholder for the hours part.

C#
public DateInputMessagesSettingsBuilder Hour(string value)
Parameters:valuestring

The value that configures the hours placeholder.

Returns:

DateInputMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Messages(m =>m.Hour("hour"))
)

The placeholder for the minutes part.

C#
public DateInputMessagesSettingsBuilder Minute(string value)
Parameters:valuestring

The value that configures the minutes placeholder.

Returns:

DateInputMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Messages(m =>m.Minute("min"))
)

The placeholder for the months part.

C#
public DateInputMessagesSettingsBuilder Month(string value)
Parameters:valuestring

The value that configures the month placeholder.

Returns:

DateInputMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Messages(m =>m.Month("month"))
)

The placeholder for the seconds part.

C#
public DateInputMessagesSettingsBuilder Second(string value)
Parameters:valuestring

The value that configures the seconds placeholder.

Returns:

DateInputMessagesSettingsBuilder

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

The placeholder for the weekday part.

C#
public DateInputMessagesSettingsBuilder Weekday(string value)
Parameters:valuestring

The value that configures the weekday placeholder.

Returns:

DateInputMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Messages(m =>m.Weekday("day of week"))
)

The placeholder for the years part.

C#
public DateInputMessagesSettingsBuilder Year(string value)
Parameters:valuestring

The value that configures the year placeholder.

Returns:

DateInputMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Messages(m =>m.Year("year"))
)