Home - Forums-.NET - FlyTreeView (ASP.NET) - Selecting node also fires PopulateOnDemand

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Selecting node also fires PopulateOnDemand
Link Posted: 27-Mar-2007 21:11
Greetings,

how come clicking a node's text does also fire the expand command? Is that intended? And if it is, is there a way to prevent this from happening?

In other words: I'd expect a node to expand by clicking the [+], but not when I click the text ...
Link Posted: 27-Mar-2007 21:54
This is default behavior.
You can prevent it by setting flytreeview.ContentClickExpands to false.
Link Posted: 27-Mar-2007 22:44
[quote="EvgenyT"]This is default behavior.
You can prevent it by setting flytreeview.ContentClickExpands to false.


Thanks
Link Posted: 29-Oct-2007 04:52
I seem to have a problem with the ContentClickExpands setting when I set it as an attribute to the Flytreeview control in the aspx page:



But if I do it from within the code its working fine. Is this a known problem?

Now to my real question

I want ContentClickExpands=\"true\" on left mouseclick but not on right mouseclick. I want to show a menu on right click and then I dont want to change the nodes expand/collapse-status. Is this possible? And if - how?
Link Posted: 29-Oct-2007 05:59
Current stable version doesn't expands/selects node on right-click.
There was a bug long ago for IE (also this version is still on public demo site).

I seem to have a problem with the ContentClickExpands setting when I set it as an attribute to the Flytreeview control in the aspx page:


Yes, got same issue. To fix.  =)
Link Posted: 29-Oct-2007 06:22
[quote="EvgenyT"]
Yes, got same issue. To fix.  =)

Ups, cannot reproduce now. I thought I saw the bug, but now it seems ok.