Search results

Set the Placeholder in ASP.NET MVC DateRangePicker control

The following example demonstrates how to set placeholder in the DateRangePicker control.

Using placeholder you can display a short hint in the input element.

razor
@Html.EJS().DateRangePicker("daterangepicker").Placeholder("Choose a range").Render()