Date Ranges

The DatePicker allows you to define a date range and choose a date within that range.

To implement date ranges, use the following DatePicker properties:

  • MinimumDate(DateTime)—Defines a date, which marks the beginning of the range of the available dates. The default value is DateTime(2000,1,1).

  • MaximumDate(DateTime)—Defines a date, which marks the end of the range of the available dates to choose from. The default value is DateTime(2099, 12, 31, 23, 59, 59).

The following example demonstrates how to set date ranges in the DatePicker.

Define the control and the date ranges.

<telerik:RadDatePicker MinimumDate="2020,1,1"

Add the following namespace:


See Also

In this article
Not finding the help you need?