kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

Implement Readonly option

Open kendo-bot opened this issue 8 months ago • 0 comments

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)
)

kendo-bot avatar Mar 18 '25 09:03 kendo-bot