I have a RadDateTimePicker control defined as follows:
When I set
datePicker.Value also changes to today.
However, when I set
or call
datePicker.Value is set to "0001-01-01" regardless of what my NullDate is.
Why is Value not set to NullDate when NullableValue is set to null? How do I get rid of the garbage date, in year "0001"?
datePicker.NullText = "No date...";
datePicker.NullDate = DateTime.Parse("1900-01-01");
When I set
datePicker.NullableValue = DateTime.Today;
datePicker.Value also changes to today.
However, when I set
datePicker.NullableValue = null;
or call
datePicker.SetToNullValue();
datePicker.Value is set to "0001-01-01" regardless of what my NullDate is.
Why is Value not set to NullDate when NullableValue is set to null? How do I get rid of the garbage date, in year "0001"?