Skip to main content

DateBoxBuilder.DateOutOfRangeMessage(String) Method

Specifies the message displayed if the specified date is later than the max value or earlier than the min value. Mirrors the client-side dateOutOfRangeMessage option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DateBoxBuilder DateOutOfRangeMessage(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
DateBoxBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().DateBox()
    .DateOutOfRangeMessage("My message")
)
See Also