Home - Forums-.NET - FlyTreeView (ASP.NET) - Adding mouseovers for plus/minus buttons and node selection

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Adding mouseovers for plus/minus buttons and node selection
Link Posted: 16-Mar-2007 14:19
For my application, it would be helpful if there was a operational mode where the +/- buttons mouseover and open/close nodes when clicked.

Currently they do nothing, which is not the way treeview controls normally work.

I would prefer instead that clicking the labels would select the node, but NOT open the node up to retrieve its children. You would HAVE to use the +/- buttons to open nodes.

AFAIK, none of the demos show this, so I am guessing that this is not supported.

I can live with the current behavior as there is a lot of other things I really like about this control. But I'm pretty sure many other developers would like to have this operational mode if it can be added or created with a little client-side scripting.
Link Posted: 17-Mar-2007 12:35
You can just set
flyTreeView.ContentClickExpands to false.

This will prevent treeview from expanding node when you click node text.