Value disappearing in some conditions.

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 25 Apr 2014 Link to this post

    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


  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 25 Apr 2014 Link to this post

    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.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top