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 and Click to show new form

Thread ID:





63928 Jul 11,2007 05:56 PM UTC Jul 12,2007 10:00 AM UTC WinForms 1
Tags: Tools
Asked On July 11, 2007 05:56 PM UTC


I would like a control or form to popup when a user clicks on a child node. I can capture the double click event but that also could fire when a user double clicks the parent node. Is there anyway to popup a form or messagebox when you click on a child node?


Jeba S [Syncfusion]
Replied On July 12, 2007 10:00 AM UTC

Hi John,

You can prevent the doubleclick event for the parent node by checking the level of the node. Please refer this code snippets:

private void treeViewAdv1_DoubleClick(object sender, EventArgs e)
TreeNodeAdv node = this.treeViewAdv1.SelectedNode;
//Check the level
if (node.Level >= 2)
MessageBox.Show("Pop Up");

Please refer the sample in the below link which illustrates the above:

Thank you for using Syncfusion Products.

Kindly let us know if you need any further assistance.

Best Regards,


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.

Warning Icon 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.Close Icon