Hi.
After a date is picked I want to delete it and set the value to null on the data bound item.
The NullableValue is set to null/Nothing:
Me.DateRadDateTimePicker.NullableValue = Nothing
The Value property is bound to an entity's nullable date field:
Me.DateRadDateTimePicker.DataBindings.Add(New System.Windows.Forms.Binding("Value", Me.binder, "Date", True))
If I select the date text and delete it, the entity still has a 01/01/0001 date value. However, the null text correctly displays in the picker.
I've even tried to manually set the null date (in three different ways!) based on the empty text but to no avail:
Dim dtp As RadDateTimePicker = ctrl
If dtp.Text = "" Then
dtp.NullableValue = Nothing
dtp.DateTimePickerElement.SetToNullValue()
dtp.Value = Nothing
End If
What am I missing?