Search results

Disabled the DatePicker Component in ASP.NET MVC DatePicker control

28 Jul 2021 / 1 minute to read

To disable the DatePicker, use its enable property.

The following example demonstrates the DatePicker in a disabled state.

razor
Copied to clipboard
@Html.EJS().DatePicker("datepicker").Enabled(false).Render()