The following sample demonstrates a typical Date Range Selection
scenario similar to selecting travel dates.
Two date pickers are linked together so when the StartDate is changed, the EndDate is updated to be 7 days after the selected StartDate.
See Sample
The EndDate is updated when the client-side JavaScript function OnClientAfterSelectionChanged is fired.
A DateRangeValidator and DateDifferenceValidator are also used within the sample. The DateRangeValidator checks to ensure the StartDate does not occur in the past and the DateDifferenceValidator checks to ensure the EndDate is at least 7 days greater than the StartDate.
Thanks,
Geoffrey McGill
----------------------------------------
Coolite Inc.
Email: support [at] coolite [dot] com
Phone: +1(888)775-5888