sir u r using control keydown event to set today date to control..... this will always set current date to control. will not b able to change the date...
Please find attached here with my sample project. in which if we set null date.. we are not able to edit it with keyboard.
Please check sample .
------------------------------------------------------------------------------------------------------------------------------
private void SfDateTimeEdit1_KeyDown(object sender, KeyEventArgs e)
{
sfDateTimeEdit1.Value = DateTime.Today;
this.sfDateTimeEdit1.Format = "dd/MM/yyyy";
}
Attachment:
WindowsApplication2_a1e937d1.zip