Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
Wrong WeekNumber in a UltraMonthViewMulti
posted

Hello,

I noticed that the control starts its week number on the first week of year, regardless of the "nature" of this week. 

For example, the 01/01/2012 is a sunday, and the control considers this day as week number one, which is wrong. The first week of the year 2012 should be the one from monday 02/01/2012 to sunday 08/01/2012.

Is there a way to specify a rule for the  first week of the year ? 

 

Thanks,

Thomas

  • 770
    posted

    Ok I finally found the answer myself... ^^

     

    I had to set the "WeekRule" property of the UltraCalendarInfo to "FirstFourDayWeek". Previously it was set to "FirstDay".

     

    Regards,

    Thomas