This question is locked. New answers and comments are not allowed.
When I use a culture that have "RightToLeft" flow direction then is the hour and minute boxes are switched.
this is not right! how can I changed this? the property "FlowDirection" don't change this.
I attached 4 screenshot the date/time_wrong a telerik control and the date/time_correct are WP native controls.
this is not right! how can I changed this? the property "FlowDirection" don't change this.
I attached 4 screenshot the date/time_wrong a telerik control and the date/time_correct are WP native controls.
4 Answers, 1 is accepted
0
Hello,
Thanks for writing and for reporting this. The reason for this behavior is that the separate looping selectors are put in a layout panel which also reacts to the changes of the Flow Direction. You can easily change the position of the looping selectors for both RadDate- and RadTimePicker by setting the SelectorFormat property as described here:
For RadDatePicker: http://www.telerik.com/help/windows-phone/raddatepicker-features-formatting.html, see the Selector section
For RadTimePicker: http://www.telerik.com/help/windows-phone/radtimepicker-features-formatting.html, again see the Selector section
I hope this helps.
Regards,
Deyan
Telerik
Thanks for writing and for reporting this. The reason for this behavior is that the separate looping selectors are put in a layout panel which also reacts to the changes of the Flow Direction. You can easily change the position of the looping selectors for both RadDate- and RadTimePicker by setting the SelectorFormat property as described here:
For RadDatePicker: http://www.telerik.com/help/windows-phone/raddatepicker-features-formatting.html, see the Selector section
For RadTimePicker: http://www.telerik.com/help/windows-phone/radtimepicker-features-formatting.html, again see the Selector section
I hope this helps.
Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Sebastian
Top achievements
Rank 2
answered on 13 Sep 2013, 04:45 PM
Hi Deyan,
I forgot to say that I allready try this, but this changed nothing.
I have uploaded a test app. Please set your culture for example to Hebrew (he-IL) then you will see what I mean.
http://www.yobibyte.de/phoneapp1.zip
Regards
Sebastian
I forgot to say that I allready try this, but this changed nothing.
I have uploaded a test app. Please set your culture for example to Hebrew (he-IL) then you will see what I mean.
http://www.yobibyte.de/phoneapp1.zip
Regards
Sebastian
0
Hi Sebastian,
I've actually found an easier approach of solving this. You can simply set the FlowDirection of the Time Selector control that is displayed in the TimePicker popup to LeftToRight and get the desired behavior:
I hope this helps.
Regards,
Deyan
Telerik
I've actually found an easier approach of solving this. You can simply set the FlowDirection of the Time Selector control that is displayed in the TimePicker popup to LeftToRight and get the desired behavior:
<
telerikInput:RadTimePicker
OkButtonIconUri
=
"/Assets/AppBar/check.png"
CancelButtonIconUri
=
"/Assets/AppBar/close.png"
Grid.Column
=
"1"
x:Name
=
"StartTime"
Value
=
"{Binding StartDate, Mode=TwoWay}"
PopupHeader
=
"{Binding Path=LocalizedResources.HeadSelectTime, Source={StaticResource LocalizedStrings}}"
>
<
telerikInput:RadTimePicker.SelectorStyle
>
<
Style
TargetType
=
"telerikInput:RadTimeSelector"
>
<
Setter
Property
=
"FlowDirection"
Value
=
"LeftToRight"
/>
</
Style
>
</
telerikInput:RadTimePicker.SelectorStyle
>
</
telerikInput:RadTimePicker
>
I hope this helps.
Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Sebastian
Top achievements
Rank 2
answered on 18 Sep 2013, 05:43 PM
Hi Deyan,
this is working great.
Thanks for you help.
BR
Sebastian
this is working great.
Thanks for you help.
BR
Sebastian