Calendar Control

Future-Only Single-Select Implementation

To construct a calendar where the user can only select future dates, the code would read as follows:

Notice that we're setting the minimum date to tomorrow's date by adding one day to a newly instantiated date (using the DateMath helper class) and setting it into the calendar's minDate property. cal1.maxDate remains null since there is no restriction on how far into the future the user can make selections.

reset| what's selected?