Hi Kevin Meyer,
If you've used this approach before I suggest to continue using it.
We have a glitch with the null date property in the Q3
release after we've added the RadMaskedEditBox
to the RadDateTimePicker
. However, by design we use the SetToNullValue method to set the null value. You can explicitly set the value property using the Value property of RadDateTimePicker.
You can also use the NullText property of RadDateTimePickerElement. In order to explicitly access the RadMaskedEditBox you can use the TextBoxElement property of RadDateTimePickerElement. The following code is demonstrates how to do it:
RadMaskTextBox maskBox = (textBoxElement.TextBoxItem.HostedControl as RadMaskTextBox);
The masked box is actually the box where you edit the dates in the RadDateTimePicker. Its Value property is synchronized with the Value property of RadDateTimePicker and you are able to set its value by setting the Value property of RadDateTimePicker or set the MaskEditValue of the mask box.
I hope this explanations will help you to better understand the structure of RadDateTimePicker.
If you have any other questions, please feel free to write me back.
the Telerik team