How to get the name of a node in a treeview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stackoverflow
    New Member
    • Dec 2014
    • 1

    How to get the name of a node in a treeview

    Hello, how can i get the name of a node instead of gaving: "TreeNode: Node_name" i just want have Node_name.
    I use node.toString()

    Edit:
    I found the awnser:

    code:

    Code:
    [B]String s;
    s = e.Node.toString();
    s=s.Replace("TreeNode: ", "");[/B]
    Last edited by Stackoverflow; Dec 10 '14, 10:18 AM. Reason: Finding the awnser
Working...