This is a migrated thread and some comments may be shown as answers.
customize GanttView
3 Answers 36 Views
This is a migrated thread and some comments may be shown as answers.
Mohammad
Top achievements
Rank 1
Mohammad asked on 07 Aug 2012, 07:37 PM
Hi,
is there any way to customize GanttView for jalalian(Persian) date time or arabian date time ?

3 Answers, 1 is accepted

Sort by
0
Ventzi
Telerik team
answered on 08 Aug 2012, 11:06 AM
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.

0
Mohammad
Top achievements
Rank 1
answered on 11 Aug 2012, 06:49 AM
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.
0
Ivo
Telerik team
answered on 14 Aug 2012, 02:13 PM
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.

Asked by
Mohammad
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
Mohammad
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or