Change the calendar to other than Gregorian

2 posts, 0 answers
  1. esn
    esn avatar
    2 posts
    Member since:
    Aug 2016

    Posted 31 Aug 2016 Link to this post

    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:

    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.

  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 01 Sep 2016 Link to this post


    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. 

    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.
Back to Top