This is a migrated thread and some comments may be shown as answers.

Month View uses another cultureinfo

3 Answers 70 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Eastern
Top achievements
Rank 1
Eastern asked on 09 Nov 2010, 03:53 PM
hello,

i am using 2010 Q2 controls , in the scheduler i changed the default Cultureinfo to another culture , but the Month view is using the old (system default) culture.

how can i solve this issue ?

3 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 09 Nov 2010, 04:13 PM
hi Eastern,

Is it the Persian culture again you are looking to set? To be honest, i'm not sure what it should look like when put into Persian culture. I have attached a screenshot of my RadScheduler in MonthView with the Persian culture set so you can compare.

hope that helps
Richard
0
Eastern
Top achievements
Rank 1
answered on 09 Nov 2010, 05:00 PM
yes,

let me explain something , Persian Culture that comes with .Net framework does not have Persian Calendar into it(and microsoft accepted that this is a bug since .net 2.0 but dont want to solve it). so there is a workaround for sticking the Persian Calendar to the Persian Culture through the Reflection techniques.

now i have a Persian Cultureinfo that have persian calendare and works perfectly in all situations.
i set it to the Culture of radschedulder and it works perfectly in Day and Weekly views.
but in the month view the control works with Windows default culture and does not use what i assigned to Culture property. ( i believe that my persianCulture is complete and works well in all situations, and if control use it , it works like other normal cultures)
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 09 Nov 2010, 05:31 PM
Hello Eastern,

Thanks for the information. I guess oyu're taking this from the Code Project article.

I'm a little unsure as to the solution you're looking for other than saying that the example that I showed simply had the scheduler set to MonthView and the Culture set to persian.

If this doesn't help, please post your code and I will try to help
Thanks
Richard
Tags
Scheduler and Reminder
Asked by
Eastern
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Eastern
Top achievements
Rank 1
Share this question
or