• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

Example of DateRangePickerFor in ASP.NET Core DateRangePicker Control

Click/Touch the submit button to post the selected value in the DateRangePicker. When posting the null value, validation error message will be shown below the DateRangePicker.

DEMO
SOURCE

This sample demonstrates the strongly typed extension support in DateRangePicker. Value is set as model object to the DateRangePicker from the code behind, and it is set to DateRangePicker in view page by invoking the strongly typed DateRangePickerFor helper.

More information on the DateRangePicker instantiation can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE