We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

sfTimeSelector, WinRT

Thread ID:

Created:

Updated:

Platform:

Replies:

115079 Dec 21,2013 07:35 PM Dec 23,2013 04:14 AM WinRT 2
loading
Tags: General
Michael O'Connor
Asked On December 21, 2013 07:35 PM

 

The below code shows a selector that includes seconds, despite having set the format string to hide seconds. I've also seen it show me twenty four hours AND the AM/PM chooser, although that behavior is not consistent.  How can I get the seconds to go away?!

<editors:SfTimeSelector x:Name="tpTime" FormatString="h/m/t" VerticalAlignment="Top" AccentBrush="#FF676767" Visibility="Visible" >

<editors:SfTimeSelector.Style>

<Style TargetType="editors:SfTimeSelector">

<Setter Property="HeaderTemplate">

<Setter.Value>

<DataTemplate>

<TextBlock VerticalAlignment="Top" Margin="5" FontSize="21" Text="Set Time" FontWeight="ExtraLight"/>

</DataTemplate>

</Setter.Value>

</Setter>

</Style>

</editors:SfTimeSelector.Style>

</editors:SfTimeSelector>


Michael O'Connor
Replied On December 21, 2013 07:39 PM

A new detail - if the TimeSelector is visible when the form loads the formatting works okay.  If the TimeSelector is made visible when the user selects it, the formatting doesn't work.


Vignesh V [Syncfusion]
Replied On December 23, 2013 04:14 AM

Hi Michael,

We are able to reproduce the issue ' TimeSelector shows unspecified format while changing visibility dynamically'. We have logged a bug report and fix for this issue will be available in our upcoming Service pack release which is scheduled to be release by the end of January 2014. Please visit our website periodically for updates regarding releases.


Please let us know if you have any queries.

Regards,
Vignesh V


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;