Is the following behaviour as designed and is it changeable?
There is a webdatechooser control on a form filled with a date by code-behind. When I click on the control the calendar opened at the month and year of the date in the input field. Now I change only the year of the calendar ( for example 2020) and click then anywhere on the form outside the calendar. The calendar disappears. When I now click on the control again the calendar shows me the year 2020 and not the year of the date in the input field. How can I force the control to show the date of the input field in the calandar again?
With AutoPostBack-CalendarMonthChanged="true" I've the chance to manipulate the control. But I expected that javascript would handle it. Nevertheless it seems to be a bug because I've to add custom code achieving a normal behaviour.
So the value of the text box is not changing with the value you select in the Calendar? I see what you are saying now I think. Alright first the simplest solution. Make sure AutoPostBack is enabled.
The value changed event won't fired because the value wouldn't changed. Only the year dropdownlist selection was changed that has no influence of the value in the input field.
I'm not entirely sure what you mean here. I believe the calender does this without needing anything extra but if not you could put the event for value changed and in that place this line of code.
this.WebDatecCooser1.CalendarLayout.SelectedDate = DateTime.Parse(this.WebDateChooser1.Text.Trim());