SelectionChanged event doesn't fire when using Hierarchical Data Templates

3 posts, 0 answers
  1. DADean
    DADean avatar
    5 posts
    Member since:
    Sep 2006

    Posted 09 Jul 2018 Link to this post

    I am trying to build a TreeView/Property Grid pair for my application.  In my application I have implemented the Hierarchical Data Template as described in the online documentation (  This populates the TreeView control as expected.

    In binding the property grid to the SelectedItem of the TreeView, I found that I can only see the properties for the first TreeNode that is clicked.  In troubleshooting I tried updating the PropertyGrid through code, but I found that the SelectionChanged event only fires for the first node that is clicked on.  Any subsequent selection changes do not result in the SelectionChanged being fired.

    How can I build this typical functionality into a Hierarchical Data Template based TreeView control?

  2. Martin Ivanov
    Martin Ivanov avatar
    2240 posts

    Posted 10 Jul 2018 Link to this post

    Hello Dave,

    I attached a small example showing how to sync RadTreeView and RadPropertyGrid. Can you please give it a try and let me know if it helps?

    Martin Ivanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. DADean
    DADean avatar
    5 posts
    Member since:
    Sep 2006

    Posted 11 Jul 2018 in reply to Martin Ivanov Link to this post

    Thank you Martin, the provided example helped me solve my issue.  I was trying to apply the same ItemTemplate for all levels of the hierarchy.


    Please go ahead and close this support request.

Back to Top