Completed
Last Updated: 29 Feb 2016 10:15 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 17 Feb 2016 14:23
Category: Scheduler/Reminder
Type: Bug Report
7
FIX. RadScheduler - incorrect day is displayed in MonthView with "fa-IR" culture and PersianCalendar
Please refer to the attached screenshots. A sample project is attached.

There is a known issue in the .NET Framework considering the "fa-IR" culture. Please refer to the following MSDN resource for a solution which is included in the sample project: https://code.msdn.microsoft.com/Fixing-Persian-Locale-for-6e66e044#content

Workaround:

 private void radScheduler1_CellFormatting(object sender, SchedulerCellEventArgs e)
        {
            MonthCellElement monthCellElement = e.CellElement as MonthCellElement;
            if (monthCellElement != null)
            {
                monthCellElement.Header.Text = monthCellElement.Date.ToString("dd", this.radScheduler1.Culture);
            }
        }
0 comments