Change the calendar to other than Gregorian

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

    Posted 31 Aug 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:

    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.

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 01 Sep Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top