Hi,
When re-selecting the already selected date, the datepicker textbox gets emtpy.
As a workaround, I manually set the selecteddate in this case:
When re-selecting the already selected date, the datepicker textbox gets emtpy.
As a workaround, I manually set the selecteddate in this case:
private void DatePicker_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangedEventArgs e)
{
if (this.DatePicker.SelectedDate == null && ((System.DateTime)(((object[])(e.RemovedItems))[0])).Date != null)
{
this.DatePicker.SelectedDate = ((System.DateTime)(((object[])(e.RemovedItems))[0])).Date;
}
}
Is there a better solution for this?
br,
Markus