Back to Devexpress

Date Range

aspnet-17573-components-data-editors-aspxdateedit-date-range.md

latest1.3 KB
Original Source

Date Range

  • Jun 17, 2021

You can combine two ASPxDateEdit controls to implement date range picker functionality. In this case, one editor specifies the start date, and another defines the end date. To link editors, set the DateEditRangeSettings.StartDateEditID property of the end-date editor to the ID value of the start-date editor.

Use the ASPxDateEdit.DateRangeSettings property to customize the date range settings.

Use the client-side ASPxClientDateEdit.GetRangeDayCount method to get the number of days selected within a range.

Note

The date range settings should be specified for the end-date editor.

See Also

Online Demo: Data Editors - Date Range Picker