SelectedTime binding does not reflect underlying updates

4 posts, 0 answers
  1. Denis
    Denis avatar
    12 posts
    Member since:
    May 2008

    Posted 19 Sep 2008 Link to this post


    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?
  2. Nikolay
    Nikolay avatar
    3997 posts

    Posted 23 Sep 2008 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
  4. J
    J avatar
    1 posts
    Member since:
    Dec 2008

    Posted 28 Jan 2009 Link to this post

    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.
  5. Boyan
    Boyan avatar
    758 posts

    Posted 02 Feb 2009 Link to this post

    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.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top