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

TreeView CheckNodes Return as RadTreeNodeCollection! Is that possible?

0 Answers 78 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Laz
Top achievements
Rank 1
Laz asked on 06 May 2009, 09:55 AM

HI,

i use the RadTreeView with Checkboxes.

My Problem is the function "treeView.CheckedNodes" because the Return - Object is a IList<RadTreeNode>.

Sample Code:

       

 private void ShowCheckedNodes(RadTreeView treeView)  
        {  
             
 
            IList<RadTreeNode> nodeCollection = treeView.CheckedNodes;  
            foreach (RadTreeNode node in nodeCollection)  
            {  
                string x = node.FullPath;  
                 
            }  
             
        } 

What i need is a RadTreeNodeCollection as result. Let me describe in more detail:
What's important for me is the structure of the TreeView object, but only the selected nodes.

How can I achieve this?

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Laz
Top achievements
Rank 1
Share this question
or