I have a DateTimePicker Control. I have set the ShowCheckBox Property to True. I would like this checkbox to enable/disable the datetimepicker based on weather it is checked or not. I'm surprised it doesn't do this by default. Nor is there any other property to set to allow this behavior. I also can't find any event to hook into that would allow me to achieve the desired results.
I did find through the smart tags how I could disable the two "parts" of the DateTimePicker (RadDateTimePickerArrowButtonElement, and RadMaskEditBoxElement) during design time.
Another approach, I guess that works is to attached to the value changed event. This way as soon as a user sets the value from null to something, the checkbox could be checked for them. This allows them to have the correct checkbox state, without manually checking it themselves.
Any help would be appreciated.
Thanks,
I did find through the smart tags how I could disable the two "parts" of the DateTimePicker (RadDateTimePickerArrowButtonElement, and RadMaskEditBoxElement) during design time.
Another approach, I guess that works is to attached to the value changed event. This way as soon as a user sets the value from null to something, the checkbox could be checked for them. This allows them to have the correct checkbox state, without manually checking it themselves.
Any help would be appreciated.
Thanks,