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

24 / 12 hour format?

5 Answers 96 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
hwsoderlund
Top achievements
Rank 1
hwsoderlund asked on 19 Jan 2011, 02:27 PM
What is the best way of switching between 12 and 24 hour time format?

5 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 19 Jan 2011, 04:52 PM
Unfortunately the only way right now is to create a bunch of template and styles:
http://demos.telerik.com/wpf/?ScheduleView/CustomStyles/TimeRulerStyle

We are aware of this limitation, though, and most probably in the near future we will add several properties that will specify the string formats that will be used in the default themes.

Kind regards,
Valeri Hristov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Adrien
Top achievements
Rank 1
answered on 10 Jan 2013, 09:18 AM
Have you added such properties for 24h format in the latest release?
0
Yana
Telerik team
answered on 15 Jan 2013, 08:55 AM
Hello Adrien,

I am afraid that such properties are still not available in RadScheduleView.

We're sorry for the inconvenience.

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kuba
Top achievements
Rank 1
answered on 04 Dec 2013, 10:16 PM
Yana,

there is definetly way to change time format from 12h/24h, i did it succefully in my procjet,

according to this example:

http://demos.telerik.com/silverlight/#ScheduleView/CustomDateFormats

for example change value of below property in one on your schedule views:

TimerulerMajorTickStringFormat="{}{0:HH:mm}"

hth
Kuba
0
Yana
Telerik team
answered on 09 Dec 2013, 11:36 AM
Hi Kuba,

Indeed, RadScheduleView provides a few properties that can be used to set the formatting of the TimeRuler, detailed information about them can be found in the following link:
http://www.telerik.com/help/silverlight/radscheduleview-features-formatting.html

I am sorry for the confusion.

Regards,
Yana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
hwsoderlund
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Adrien
Top achievements
Rank 1
Yana
Telerik team
Kuba
Top achievements
Rank 1
Share this question
or