RadTimePicker PropertyChanged event called twice with wrong value the second time.

2 posts, 0 answers
  1. Cynthia
    Cynthia avatar
    1 posts
    Member since:
    Aug 2014

    Posted 12 Oct 2014 Link to this post

    Hi there,

    I'm using RadTimePicker inside RadDataFilter. My RadTimePicker is using TimeSpan data type and using SelectedTime property. When i change the time using the time picker control button and then i clicked on one of the time options, it works properly. However, if i change the time manually using the textbox of the radtimepicker, the PropertyChanged event will be called twice. First time it is called, the value is correct, but the second time, it will be an "UnSet" value. Is this a bug or is there some setting that must set to make it work properly.

    Hope to hear from you soon.

    Thank you
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 13 Oct 2014 Link to this post

    Hello Cynthia,

    We are aware of the explained issue and already have it logged in our Feedback portal. You can easily track its status on the following link:
    http://feedback.telerik.com/Project/143/Feedback/Details/133215-selectedtime-property-of-timepicker-is-not-updated-correctly-when-manually-changi

    What I can suggest you for now as work around would be to use RadDateTimePicker with InputMode TimePicker instead. You would need to bind the SelectedValue property to a DateTime? property in the ViewModel and will have to extract the Time from the SelectedValue in order to get the correct SelectedTime.

    Hope this helps.


    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top