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

SelectedTime binding does not reflect underlying updates

3 Answers 65 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 19 Sep 2008, 03:38 PM
Hi,

Using a Two-Way Binding on SelectedTime, it seems like the text display does not reflect changes exacted outside of the control itself.

I can see the binding reacting to the change because it goes through my ValueConverter, which returns the correct updated value, but the text stays the same.

Is this a known bug?

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 23 Sep 2008, 10:44 AM
Hello Denis,

Thanks for your bug report.

We have already addressed this issue and this change is going to be reflected in the forthcoming RC1 release due by the mid of next week. We updated your Telerik points as per our EAP Program.

All the best,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
J
Top achievements
Rank 1
answered on 28 Jan 2009, 07:56 PM
I'm seeing a similar problem during binding validation error handling for the time picker.  Here is the scenario.  When the UI attempts to update the bound value through a selection change to a value determined to be an invalid (ie. time cannot be greater than a different time property in the same model) I throw  an exception in the setter of my bound property and prevent the value from being updated.  The exception is correctly handled by the BindingValidationError handler for the control.  In the handler I see the the SelectedTime property has not changed on the control or the underlying value but when the selection popup closes for the control the UI gets updated to the new selected invalid value.   After this occurs all binding attempts fail on the control.  The expected behavior is that the control should not update to reflect the selected value if a binding validation error occurs.  The DatePicker does have the expected behavior.
0
Boyan
Telerik team
answered on 02 Feb 2009, 01:34 PM
Hello J,

Could you please send us an example project so that we can reproduce the issue at our side. In order to attach a project you should open a new support ticket.

Thanks for your time.

Regards,
Boyan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TimePicker
Asked by
Denis
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
J
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or