Completed
Last Updated: 14 Jul 2014 07:49 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 25 Mar 2014 17:01
Category: Calendar
Type: Bug Report
0
FIX. RadCalendar - Incorrect week numbering in multi view mode
FIX. RadCalendar - Incorrect week numbering

Use the following code snippet:

radCalendar1.AllowMultipleView = true;
radCalendar1.MultiViewColumns = 1;
radCalendar1.MultiViewRows = 5;
radCalendar1.ShowRowHeaders = true;

CultureInfo ci = new CultureInfo("en-US");
CalendarWeekRule weekRule = CalendarWeekRule.FirstDay;
ci.DateTimeFormat.CalendarWeekRule = weekRule;
radCalendar1.Culture = ci;

Expected behavior: when the CalendarWeekRule is FirstDay, 01/01/2013 should be displayed as week 1
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 25 Mar 2014 17:07
Refer to the CalendarWeekRule Enumeration - http://msdn.microsoft.com/en-us/library/system.globalization.calendarweekrule(v=vs.110).aspx