Hello all,
I'm currently working on upgrading an application from Infragistics 11.2 to Infragistics 13.1 with Windows Forms controls. While working with an UltraCalendarCombo control, I've encountered some differences in the base appearances after adding a collection of appointments to the CalendarInfo object associated with the CalendarCombo. I've attached an image to this post showing these differences: the top portion with the date dropdowns against 11.2 correctly highlighting only certain dates in the dropdowns, and the bottom portion against 13.1 which highlights all dates instead of specific ones. The only change between these two screenshots is the version of Infragistics being referenced.
Can anyone help me determine what changes should be made against the 13.1 version to mimic the appearance and behavior of the 11.2 control? This functionality is one of the main reasons we're using the UltraCalendarCombo, and it needs to be consistent between our application versions.
Thanks,
Melissa
Found the issue..
If the date being passed in doesn't have an hour-duration information on it, the day won't highlight correctly. Here's how I resolved this issue:
For Each ed As Date In MyGlobal.MyDates.EndDates x = New DateTime(ed.Year, ed.Month, ed.Day, 8, 0, 0) y = New DateTime(ed.Year, ed.Month, ed.Day, 9, 0, 0) uciStatusReportEndDates.Appointments.Add(x, y, "End")Next