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

Highlight style in TimePicker control of Telerik

3 Answers 32 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Bobak
Top achievements
Rank 1
Bobak asked on 28 Mar 2014, 02:55 PM
I am using TimePicker control in Silverlight and the issue is if I automatically populate the time and click on the clock icon, it does not auto-highlight the time for me in the drop down but if I use the drop down to pick the time, then yes it is highlighted.

I looked at my XAML for the control and I found that I do have this:x:Name="PART_DropDownButton"
controls:DateTimePickerExtensions.FocusContentOnOpen="True"
but still no luck, also went and directly set that property on the specific XAML file in my application and still no luck. Any thing else to try?

3 Answers, 1 is accepted

Sort by
0
Bobak
Top achievements
Rank 1
answered on 31 Mar 2014, 01:06 PM
So even to reproduce the bug in demo site here: http://demos.telerik.com/silverlight/#DateTimePicker/Configurator
put the input mode on TimePicker,
type a value like 8:00 AM in the control.
lose focus and start clicking around inside text boxes, etc in the configurator section.
NOW: directly go to the time picker control and click on the clock icon: it opens the drop down but 8:00 AM is NOT highlighted.
0
Kalin
Telerik team
answered on 31 Mar 2014, 03:35 PM
Hi,

We have managed to reproduce the described issue with the Windows 8 theme. We have located the issue and the fix will be available with the internal build next Monday. For now I can suggest you a work around which is to modify the ClockItem ControlTemplate in order to change the ContentPresenter named Content to ContentControl. I have attached a sample project which demonstrates the work around.

Hope this helps. I have also updated your Telerik points for your involvement.

Regards,
Kalin
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Bobak
Top achievements
Rank 1
answered on 31 Mar 2014, 05:00 PM
Thank you so much 
much appreciated
Tags
DateTimePicker
Asked by
Bobak
Top achievements
Rank 1
Answers by
Bobak
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or