Unplanned
Last Updated: 18 Mar 2025 09:44 by Martin Robins
Martin Robins
Created on: 18 Mar 2025 09:44
Category: DateTimePickers
Type: Feature Request
0
Implement Readonly option

Currently, the DatePicker can be set to read-only mode by adding the "readonly" attribute through the HtmlAttributes() option or by calling the client-side readonly() method.

Is it possible to implement a built-in Readonly() option, so the DatePicker is initialized as read-only? For example:

@(Html.Kendo().DatePickerFor(m => m.StratDate)
  .Readonly(true)
)

0 comments