I got a treeview, where its importante to me to get the full path of id's, from the first parent, to the last child checked, but the user dont need to get in the full depth of each tree.
I tried:
It doesnt work. Besides certain nodes have no checked nodes, these uncheked nodes are retuned by the Count. And I can get the ID path using that, theres no FullValuePath method. I cant do a node.CheckedNodes.Count too. Is there a built in method that I still dont look at, or do I need to code a recursive method to get these paths, since i can have different depths in diferente cenarios?
How do I use the format code block?
I tried:
string message = string.Empty;
foreach (RadTreeNode node in trvCategorization.CheckedNodes)
{
if (node.Nodes.Count == 0)
message += node.FullPath +
"<br/>";
}
Label1.Text = message;
It doesnt work. Besides certain nodes have no checked nodes, these uncheked nodes are retuned by the Count. And I can get the ID path using that, theres no FullValuePath method. I cant do a node.CheckedNodes.Count too. Is there a built in method that I still dont look at, or do I need to code a recursive method to get these paths, since i can have different depths in diferente cenarios?
How do I use the format code block?