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

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

1 Answer 133 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Cynthia
Top achievements
Rank 1
Cynthia asked on 12 Oct 2014, 03:49 PM
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

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 13 Oct 2014, 10:51 AM
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.

 
Tags
TimePicker
Asked by
Cynthia
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or