IsExpandedBinding not always updating

3 posts, 0 answers
  1. Scott
    Scott avatar
    15 posts
    Member since:
    Oct 2014

    Posted 14 Jul Link to this post

    I have a TreeListView control that I need to expand and collapse rows via the view model. The problem is the TreeListView control will sometimes update after updating the view model but not always. Or sometimes the TreeListView control will update after a few seconds. If I scroll to the bottom of the TreeListView control and back it will always refresh to match the correct view model values. 

    I have put debug statements next to the OnPropertyChanged calls and it always seems to be firing correctly. Since the TreeListView control will sometimes update it seems like it is not a binding issue to me. It's configured to use TwoWay binding. INotifyPropertyChanged is implemented in the view model. It feels like the TreeListView is not always getting the OnPropertyChanged event but I don't know why it would get it sometimes and not other times.

    I am thinking I could implement a way to force the TreeListView control to refresh any time the property that IsExpandedBinding is bound to changes but this does not seem like a good solution to me.

    Any thoughts as to why this may occur?

  2. Scott
    Scott avatar
    15 posts
    Member since:
    Oct 2014

    Posted 14 Jul in reply to Scott Link to this post

    This may be a duplicate of this thread . I somehow missed it when doing a search.
  3. DevCraft R3 2016 release webinar banner
  4. Stefan X1
    Stefan X1 avatar
    482 posts

    Posted 19 Jul Link to this post

    Hi Scott,

    I have replied you in the support thread to which you referred. In order to keep the discussion consistent, I would kindly ask you to continue any further communication regarding this topic in it.

    Thanks for your understanding.

    Stefan X1
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top