3 Answers, 1 is accepted
0
Hello,
Since the product of this thread is specified as RadScheduler, I suppose that your question is related to RadScheduler and the RadDateTimePicker that shows in the dialogues. We already had a feature request for "fa-IR" culture and PersianCalendar support. It has already been implemented. You can refer to the following feedback item: https://feedback.telerik.com/winforms/1371834-add-radscheduler-support-for-fa-ir-culture-and-persiancalendar
It was introduced in R1 2017 version. Feel free to use at least this version or a newer one in order to benefit from the new functionality.
As it is noted in the following help article about RadDateTimePicker, there is a known issue in the .NET Framework considering the "fa-IR" culture Fixing Persian Locale for Persian Calendar and Month Names: https://docs.telerik.com/devtools/winforms/controls/editors/datetimepicker/internationalization/cultureinfo-and-regioninfo-basics
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Since the product of this thread is specified as RadScheduler, I suppose that your question is related to RadScheduler and the RadDateTimePicker that shows in the dialogues. We already had a feature request for "fa-IR" culture and PersianCalendar support. It has already been implemented. You can refer to the following feedback item: https://feedback.telerik.com/winforms/1371834-add-radscheduler-support-for-fa-ir-culture-and-persiancalendar
It was introduced in R1 2017 version. Feel free to use at least this version or a newer one in order to benefit from the new functionality.
As it is noted in the following help article about RadDateTimePicker, there is a known issue in the .NET Framework considering the "fa-IR" culture Fixing Persian Locale for Persian Calendar and Month Names: https://docs.telerik.com/devtools/winforms/controls/editors/datetimepicker/internationalization/cultureinfo-and-regioninfo-basics
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Javad
Top achievements
Rank 1
answered on 03 Jun 2020, 08:56 PM
I use R3 2019 Version.
I used rad datetime picker and change the culture to "fa-IR" to use in Persian format it works fine. The problem is on some of the clients, it shows the control in "en-US" format. What is the issue? I change the culture in form load event.
here is the code I use:
1.
datepicker.Culture =
new
System.Globalization.CultureInfo(
"fa-IR"
);
2.
datepicker.NullableValue =
null
;
3.
datepicker.SetToNullValue();
0
Hello, Javad,
Following the provided code snippet, I have prepared a sample project to test the behavior locally. It seems that the fa-IR culture is applied to the RadDateTimePicker control on my end (OS Win 10):
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Our thoughts here at Progress are with those affected by the outbreak.