Search results

Disabled the DatePicker Component in ASP.NET MVC DatePicker control

To disable the DatePicker, use its enable property.

The following example demonstrates the DatePicker in a disabled state.

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