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

RadTreeView - FindChildNodeByValue

3 Answers 77 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vic
Top achievements
Rank 1
Vic asked on 07 Sep 2009, 08:53 PM
It appears that this is selecting parent Nodes as well if the value matches.  Is this a bug?

As a workaround, I am setting attributes only on nodes that have parents and then doing FindNodeByAttribute but would like to use the FindChildNodeByValue rather than the setup for appending attributes.  Is there an additional setting that is needed?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 08 Sep 2009, 06:24 AM
Hello Vic,

I am not able to understand the issue, could you please explain in more details? Thanks

All the best,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Vic
Top achievements
Rank 1
answered on 08 Sep 2009, 06:28 AM
I am creating a custom hierarchical datasource with up to 2 levels.  On the DataBound event of the TreeView I am looking for specific values to set as selected, when I use the RadTreeView.GetChildNodesByValue, parent nodes are also being selected (nodes with ParentNode = nothing). 
0
Yana
Telerik team
answered on 09 Sep 2009, 10:24 AM
Hello Vic,

I am still not able to understand the situation. Could you please paste some sample code here? Thanks in advance

Regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Vic
Top achievements
Rank 1
Answers by
Yana
Telerik team
Vic
Top achievements
Rank 1
Share this question
or