The CheckBox
element is a way to detect whether the user has picked a date. Since the DTP always has a valid date as the .Value
it can be difficult to detect whether the user has selected a date; even harder if the date they want is already showing.
The Checkbox
is meant to indicate 'yes, use this date'. Whether they click the CheckBox
or open the DTP, the CheckBox
gets checked and the ValueChanged
event should fire.
Note that of you use the less obnoxious form - ShowUpDown
== True - you'll get one of these events each time the M-D-Y value changes due to a click or mouse wheel.