I have added this code to the KeyDown event for the datetimepicker and the Delete key clears the value as expected, but the Backspace key just sets the date back six months. Is there something I'm missing:
if
(e.KeyData == Keys.Delete || e.KeyData == Keys.Back)
{
fromField.SetToNullValue();
e.Handled =
true
;
}