This is a migrated thread and some comments may be shown as answers.

RadTreeListView : Selected Item is set to null

1 Answer 130 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 13 Apr 2015, 10:35 AM

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 ? 

  Anand

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Apr 2015, 12:14 PM
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.

Regards,
Dimitrina
Telerik
 

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

 
Tags
TreeListView
Asked by
Anand
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or