Click Event for gobasicnode

What click event do we need to use for a gobasic node in order to capture the text inside of the clicked node.

thanks

Do you mean what event happens when the text label is edited?



or do you want the label of the node that was just selected?

the label of the selected node

    protected void goView1_ObjectSingleClicked(Object sender, GoObjectEventArgs evt)
    {
        GoObject obj = evt.GoObject;

        GoBasicNode n = obj.TopLevelObject as GoBasicNode;
        if (n != null)
        {
            MessageBox.Show(n.Text);
        }
        else
        {
            MessageBox.Show(evt.GetType().ToString());
        }
    }

done it :)

use ParentNode instead of TopLevelObject.

Awesome! Thank You