Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
Select node from button click
posted

hi all,

please suggest for how can i select one tree-node by clicking of some other button.

i have key of then node. let me known if there is any method y which i can select the node again passing the key-value.

my tree is outlook view.

regards
kartikeya Sharma

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    You can use GetNodeByKey to get a reference to the node, expand its root node, and set its Selected property to true:

    UltraTreeNode node = this.ultraTree1.GetNodeByKey( "testing" );
    if ( node != null )
    {
        node.RootNode.ExpandAll();
        node.Selected = true;
    }

Children