customize GanttView

4 posts, 0 answers
  1. Mohammad
    Mohammad avatar
    21 posts
    Member since:
    Jul 2010

    Posted 07 Aug 2012 Link to this post

    Hi,
    is there any way to customize GanttView for jalalian(Persian) date time or arabian date time ?
  2. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 08 Aug 2012 Link to this post

    Hi Mohammad,

    If you like to have arabian or jalalian date time, you have to write a simple converter and then apply it to the fields where a date is shown. I've attached a simple example to demonstrate this approach. You might also like to set globaly the CurrentUICulture in App.xaml.cs for the rest of the Application.

    Regards,

    Ventzi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Mohammad
    Mohammad avatar
    21 posts
    Member since:
    Jul 2010

    Posted 11 Aug 2012 Link to this post

    Hi Ventzi,

    your sample code work only for change language and region, but datetime values are not in jalalian or arabian datetime yet.
    could you give me a sample that convert Gregorian datetime to jalalian or arabian datetime ?

    Thanks a lot for your good support.
  5. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 14 Aug 2012 Link to this post

    Hi Mohammad,

    Currently the RadDateTimePicker control doesn't support Persian and Hijra calendar and that's why the RadGanttView doesn't support them either. There is a feature request logged into our PITS here. You can track it and vote for it there.

    Regards,
    Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top