RadTreeListView : Selected Item is set to null

2 posts, 0 answers
  1. Anand
    Anand avatar
    30 posts
    Member since:
    Jul 2014

    Posted 13 Apr 2015 Link to this post

    I am trying to set the selected Item of a TreeListView by code (two way binding), but I see the selected item is set back to null by telerik on few cases. 

    Have a complex hierarchy tree structure, their child parent level goes down to 10 level at-least. I am trying to set the selected item by code when some one picks the respective item from some where else. And I see, the selected item is set to null by telerik code when an at-least two ancestors nodes are collapsed, but works only one ancestor node is collapsed or when the ancestor nodes are expanded. Not sure about this behavior, could you explain this behavior ? and is there any work around ? 


  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 15 Apr 2015 Link to this post

    Hello Anand,

    As it turns out we are currently not aware of such a problem. Generally, using RadTreeListView is recommended for displaying homogeneous data only and the bound object should have a hierarchical Items collection defined with the same structure. Does your bound collection satisfy this requirement? You can refer to the online documentation on RadTreeListView.

    In order to avoid any misunderstanding, may I ask you to try isolating the issue in a demo project illustrating your exact setup? You can also take a look at this blog post for a reference on how to isolate an issue. You can open a new support ticket and send us the demo solution, that way we can debug it locally and advise further.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top