When we click on a date on a ultramonthview, the focs on the calendar goes to the selected date. Fine.
But when I navigate to the next month for example (using the scroll buttons of the ultramonthview), I would like also the calendar to move to the next month. How can this be done?
Thanks.
UltraMonthViewMulti exposes an event, 'BeforeMonthScroll', which gives you the new first month displayed by the control, provided the event is not canceled. UltraMonthViewSingle (I assume this is the control you are referring to by "calendar") exposes a ScrollDayIntoView method, which you can use to bring the new month into view.
"_AfterMonthScroll" event as well
The reason I recommended using BeforeMonthScroll is that AfterMonthScroll contains no event arguments that identify which month was scrolled into view, and BeforeMonthScroll does.
Yes, you are right. Another approach is to use the 'VisibleMonths' property of multiMonthView.