I am using an UltraMonthViewMulti control and a UltraMonthViewSingle. The UltraMonthViewMulti is used like in Outlook to select date ranges and then UltraMonthViewSingle shows the appropriate appointments etc. associated with the dates.
My problem is when the user scrolls forward in the UltraMonthViewMulti, for example, to change months, the UltraMonthViewSingle control does not stay in sync as far as showing the same date ranges that are shown in the UltraMonthViewMulti control. The more you scroll, the worse the out of sync situation becomes. They are both using the same CalendarInfo and CalendarLook objects.
What do I need to set to keep them in sync? BTW, the same issue happens when trying to sync up to the UltraWeekView and UltraDayView.
The help says that it makes the week containing the passed-in date to be the first or last visible week. I got this to work but sometimes it's the first week and sometimes it's the last week. Is there a way to always make it the first week?
Help says, "Scrolls the passed-in date into view. If already visible, the method does nothing and returns. If not already visible, the Week containing the passed-in date is made to be the first or last visible Week."
UltraMonthViewMulti displays six rows of weeks, so UltraMonthViewSingle will not be "synchonized" in the manner you describe here unless you set its VisibleWeeks property to 6. Furthermore, UltraMonthViewMulti scrolls the new month into view in such a way that will display the leading and trialing days differently than does UltraMonthViewSingle, so I think you would have to handle the BeforeMonthScroll event and call UltraMonthViewSingle's ScrollDayIntoView method, passing the day that is the top/left day for the new month (which depending on the day of the week, can be in the previous month).