Date Range

Two ASPxDateEdit controls can be combined to implement a date range picker functionality. In this case, one editor is used to specify the start date, another, 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.

ASPxDateEdit_Range

You can customize the date range settings using the ASPxDateEdit.DateRangeSettings property, which provides access to the properties limiting the range.

You can get a number of days selected within a range by using the client-side ASPxClientDateEdit.GetRangeDayCount method.

Note

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

See Also