Search results

Disable the control

DateRangePicker can be inactivated on a page, by setting enabled value as false that will disable the control completely from all the user interactions including in the form post. The following example demonstrates the disabled control.

razor
@Html.EJS().DateRangePicker("daterangepicker").Enabled("false").Render()