I found a problem regarding the Control Calendarinfo in the latest Infragistics Version for Windows Forms (2013.1)
For example, if I select the date 31.12.2012, I receive the year 2012 and the calendar week 53 as a response.
Until the Version 2010.3 it was possible to get the year 2013 and calendar week 1 as a result, which is a correct behaviour.
Is there any new configuration about this phenomenon or is this a bug?
Hello kasar,
I am following up and wanted to inform you that your issue has been addressed in service release versions WinForms_13.1.20131.2079, WinForms_12.2.20122.2116. Let me know if you have any questions regarding this matter.
This service release is now available under your account at the Infragistics Website. To download the service release, log in to ‘Account’ and select ‘Keys & Downloads’. Select the appropriate tab for this product; then the license key. The available service releases (Hot Fixes) should now be listed on the page.
This issue was fixed by changing the CalendarWeekRule to FirstFullWeek in the form load event like so:
this.ultraMonthViewMulti1.CalendarInfo.WeekRule = CalendarWeekRule.FirstFullWeek;
There was a fix to call off to CultureInfo.CurrentCulture.Calendar.GetWeekOfYear(date, System.Globalization.CalendarWeekRule, firstDayOfWeek) instead of calculating these parts our self. As a result this is working as intended and is not a bug as we are delegating off to .NET framework to return the week numbers. It is important to note that the UltraCalendarInfo.WeekRule property defaults to FirstDay.
Hi kasar,
I can see the issue you described by placing the MonthViewMulti control on a form and paging to December 2012 and December 2013. With the WeekNumbersVisible property set to true I can reproduce the issue. Let me know if you are using another control that reproduces the same behavior. To ensure that it will receive attention, I have logged the behavior in our internal tracking system with a Development ID of 149439. The next step will be for a developer to review my investigation and confim our findings or to offer a fix, or other resolution.
I have also opened a private case for you so that I can link it to this development issue. This way you will be notified automatically when the dev issue is updated. The case number is CAS-121909-P0V8H5. You will see it located here: https://es.infragistics.com/my-account/support-activity
Let me know if you have any questions regarding this matter.