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

DateInput Integration

The DatePicker provides integration options with the Telerik UI for ASP.NET MVC DateInput for the input element it renders.

To use the DateInput as the input element in a DatePicker, enable the DateInput property of the DatePicker.

    @(Html.Kendo().DatePicker()
        .Name("datepicker")
        .DateInput()
        .Value("10/10/2019")
    )

To customize the placeholders of the DateInput use the Messages configuration and set the desired DateInput messages. The component also provides the .Format(...) option and it can be leveraged to set the date format, which will be used to parse and format the machine date. Defaults to CultureInfo.DateTimeFormat.ShortDatePattern.

See Also

In this article