Hi Berezkin,
We have checked your query and sample. You have used "
SelectedDates.Clear()" in Button click event. This only clears the SelectedDates collection. The value in the Date property will not be cleared because minimum one date should be selected in the calendar, this is behavior.
We have changed your last updated sample to meet your requirement. In this sample we have added date to
SelectedDates collection and also changed the value of
Date property.
Please download the sample from the below location.
Sample:
CalendarEditSampleRegards,
Priyanga B.