We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeviewAdv with dockingmanager gives label editing problem

Thread ID:





56820 Feb 21,2007 01:37 PM UTC Feb 22,2007 07:29 AM UTC WinForms 3
Tags: Tools
Asked On February 21, 2007 01:37 PM UTC


I get an unwanted behaviour when I use a docking manager on a windows form and enable docking to a TreeViewAdv. The problem is as follows:

If I start editing the label of a node, the only way to end the editing seems to be to press Enter key or Esc key. I can not get a node out of label edit mode by a mouse click somewhere else in the tree which is possible when a treeviewadv is hosted on a windows form without a docking manager.

This misbehaviour (feature?) can be reproduced by adding a docking manager to the "TreeViewAdv LoadOnDemand Demo" and enable docking to the tree.

Best Regards,

Replied On February 21, 2007 01:39 PM UTC

I should have mentioned that I'm using Syncfusion Essential Suite

Murugan [Syncfusion]
Replied On February 21, 2007 07:21 PM UTC

Hi Oskar,

We could reproduce the misbehavior here. But this could be solved by handling MouseDown event of the TreeViewAdv control.

Here is the code snippet:

private void treeViewAdv1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
Syncfusion.Windows.Forms.Tools.TreeNodeAdv tvaNode;

tvaNode = this.treeViewAdv1.GetNodeAtPoint( e.X , e.Y );

if ( tvaNode == null )
if ( this.treeViewAdv1.SelectedNode != tvaNode )


Herewith I have attached the sample. Please refer to the sample and let me know if it helps you.


Thank you for using Syncfusion products.

Murugan P.S

Administrator [Syncfusion]
Replied On February 22, 2007 07:29 AM UTC

Thanks for the quick response.

The suggested solution works as expected.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.