title: How to simulate pressing f2 to make treeview node editable
body: <p>I'm using radtreeview control from Telerik Q3 2010 for winForms and I want to do the following, upon addition of a new node it should be added in Edit mode, well this is not supported in telerik 2010 so I need to simulate pressing F2 to make the node editable.
  I found this thread about the same topic: <a href="https://stackoverflow.com/questions/10581070/how-to-simulate-pressing-f2-button-with-keyboard-focus-on-treeview-in-wpf">How to simulate pressing F2 button with keyboard focus on treeview in wpf?</a>, but I need to do that in Winform not WPF, can you help me?</p>
  
  <p><strong>Edit</strong>
  I used sendKeys method + tree.BeginEdit but it didn't work out !
  This is my code:</p>
  
  <pre><code>  private void radButton6_Click(object sender, EventArgs e)
          {
              RadTreeNode newNode = new RadTreeNode();
              newNode.Text = "new Cabinet";
              newNode.Tag = "new Cabinet";
              cabinetsTree.Nodes.Add(newNode);
              cabinetsTree.SelectedNode = cabinetsTree.Nodes[cabinetsTree.Nodes.Count-1];
              cabinetsTree.ScrollToBottom(); //To set the focus on the new added node
              cabinetsTree.Focus();
              cabinetsTree.AllowEdit = true;
              SendKeys.Send("{F2}");
              cabinetsTree.BeginEdit();
          }
  </code></pre>