• 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 Day Span in ASP.NET Core DateRangePicker Control

In this sample, your date range selection is restricted to select minimum five days and maximum ten days.

DEMO
SOURCE

DateRangePicker has minDays and maxDays supports to force the user to select the minimum and maximum number of days in the range. Only the values in this range will be enabled.

For example, in some hotel booking website, we need to book rooms that includes packages like minimum 3 days to maximum 5 days. For this scenario this feature can be used.

More information on the DateRangePicker minDays/maxDays support can be found in the documentation section.