Highlight style in TimePicker control of Telerik

4 posts, 0 answers
  1. Bobak
    Bobak avatar
    3 posts
    Member since:
    Mar 2014

    Posted 28 Mar 2014 Link to this post

    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?

  2. Bobak
    Bobak avatar
    3 posts
    Member since:
    Mar 2014

    Posted 31 Mar 2014 in reply to Bobak Link to this post

    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.
  3. DevCraft banner
  4. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 31 Mar 2014 Link to this post

    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.

     
  5. Bobak
    Bobak avatar
    3 posts
    Member since:
    Mar 2014

    Posted 31 Mar 2014 in reply to Kalin Link to this post

    Thank you so much 
    much appreciated
Back to Top