Configuring RadTimePicker to use 24 hours

3 posts, 0 answers
  1. Pierre Thomasius
    Pierre Thomasius avatar
    5 posts
    Member since:
    Feb 2010

    Posted 01 Jan 2015 Link to this post

    According to the documentation it is possible to configure the RadTimePicker to use 24 hour time format by setting the SelectorFormat property to "Hm" where the capital H is 24hrs and h is 12hrs.
    However the property is not recognized and does not compile. Anyone come across this and solved it?

    Cheers
  2. Pierre Thomasius
    Pierre Thomasius avatar
    5 posts
    Member since:
    Feb 2010

    Posted 02 Jan 2015 in reply to Pierre Thomasius Link to this post

    So the documentation is not really up-to-date. First the property used is SelectOrder not SelectorFormat and than you need to ensure you set the CalendarClockIdentifier="24HourClock".

    <input:RadTimePicker ItemLength="90" 
                                         DisplayValueFormat="hh:MM"
                                         SelectorOrder="Hm"
                                         CalendarClockIdentifier="24HourClock"
                                         Margin="5"  
                                         Value="{Binding DiveEndTime, Mode=TwoWay}"
                                         Grid.Row="3"
                                         Grid.Column="1"
                                         HorizontalAlignment="Stretch" />
  3. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 05 Jan 2015 Link to this post

    Hello Pierre,

    Thank you for contacting us! You are correct, in the latest version of Windows Universal the property is changed to SelectorOrder. We will update our documentation accordingly.

    Thank you for reporting this! We have updated your telerik point accordingly.

    Regards,
    Tsvyatko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top