TreeView CheckNodes Return as RadTreeNodeCollection! Is that possible?

1 posts, 0 answers
  1. Laz
    Laz avatar
    31 posts
    Member since:
    Apr 2009

    Posted 06 May 2009 Link to this post


    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?

Back to Top