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:
4. Replace MainWindow.xaml with:
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
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