How to get ChildNodes of selected node in DevExpress XtraTreeList?

I am using DevExpress XtraTreeList. There are no checkboxes used. I want to get all childnode IDs of selected node. Note I already got ID of selected node, I just want to get IDs of child nodes of selected nodes.

Answers


Use the TreeListNodesIterator.DoLocalOperation method to iterate via child nodes of specific node and the TreeListNode.GetValue method to obtain child nodes IDs.

Related links:


Need Your Help

How do you copy all content of one folder( copy files and folders)

.net winforms file-io

I want to copy all the files, and copy all the folders, included empty folder, and files protected, files not visibles, folder or files any way! copy all!

Validation of List<int> property

c# .net asp.net asp.net-mvc asp.net-mvc-validation

I am using datannotations and the server/client side validation stuff in ASP.NET MVC 2. Everything works fine if a class has properties such as:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.