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

Value disappearing in some conditions.

1 Answer 46 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 25 Apr 2014, 08:59 AM
Hello,
here is how to show the problem.

1. Create a new WPF application.
2. Add references to Telerik.Windows.Controls, Telerik.Windows.Controls.Input and Telerik.Windows.Themes.Office2013.
3. Replace App.xaml with:
<Application
  x:Class="Bug_TimePicker.App"
  StartupUri="MainWindow.xaml">
  <Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml"/>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml"/>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Application.Resources>
</Application>

4. Replace MainWindow.xaml with:
<Window
  x:Class="Bug_TimePicker.MainWindow"
  Title="MainWindow" Height="350" Width="525">
  <Grid Margin="10">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="5" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="200" />
    </Grid.ColumnDefinitions>
 
    <tk:RadDateTimePicker DateTimeWatermarkContent=""
                          EndTime="22:00"
                          InputMode="TimePicker"
                          SelectedTime="9:00"
                          StartTime="8:00"
                          TimeInterval="0:30" />
 
    <TextBox Grid.Row="2" />
  </Grid>
</Window>

5. Run the application.
6. Click on the clock to display the pre-defined values.
7. Click on the DateTimePicker to close the pre-defined values.
8. Correct the time to display 9:01.
9. Click on the TextBox: the time disappears!

Patrick


1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 25 Apr 2014, 01:25 PM
Hi Patrick,

We are aware of the explained issue and it has already been fixed. The fix will be available with the internal build next Monday.

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
DateTimePicker
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Kalin
Telerik team
Share this question
or