Binding to SearchText has no effect

2 posts, 0 answers
  1. cocowalla
    cocowalla avatar
    15 posts
    Member since:
    Dec 2011

    Posted 22 Aug 2013 Link to this post

    Binding a view model property to the SearchText property of a RadAutoCompleteBox seems to have no effect (when typing in the RadAutoCompleteBox, the view model property remains null).

    Is this by design? Is there a workaround?
  2. cocowalla
    cocowalla avatar
    15 posts
    Member since:
    Dec 2011

    Posted 22 Aug 2013 Link to this post

    OK, it seems to work if I explicitly set Mode to TwoWay and UpdateSourceTrigger to PropertyChanged on the binding like:

    {Binding SearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top