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

Change the calendar to other than Gregorian

1 Answer 350 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
esn
Top achievements
Rank 1
esn asked on 01 Sep 2016, 04:31 AM

Dear Telerik Team,

As I saw on your website in the below link, the Calendar control for UI for Winforms does support Arabic calenders including Shamsi, Hijri:

http://www.telerik.com/products/winforms/calendar.aspx

However when I try to set the calender to Shamsi calendar, the calendar is still Gregorian it only translates the day and month names, but based on what I saw on your website there was an actual Shamsi calendar.

this.radCalendar1.Culture = new System.Globalization.CultureInfo("fa-IR");

I am using Telerik UI for WinForms Q2 2015

Below is the screenshot.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 01 Sep 2016, 02:02 PM
Hi,

There is an issue with .Net and this calendar type. This is noted in the following article: CultureInfo and RegionInfo Basics. I this case you may need to implement the workaround suggested there. 
 
In addition, the day numbers shown in your image are not supported in our calendar. 
  
I hope this will be useful. 

Regards,
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
esn
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or