Home - Forums-.NET - FlyTreeView (ASP.NET) - Is there a Click Event within FlyTreeView ?

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Is there a Click Event within FlyTreeView ?
Link Posted: 26-Oct-2006 04:58
Hi all,

We are using the evaluation version to see if we will buy this treeview product for our project.

We are using the treeview for asp.net 1.1 and we cannot see any click event ?

How can we associate a click event to load another aspx page from a click in a node in the treeview or how can we process something in our web page in response from a node click in our treeview ?

Is it because we use the evaluation version and the click event is not available ?

Thanks,
Link Posted: 26-Oct-2006 05:16
There's NavigateUrl to load specific url in a frame, or SelectedNodeChanged event to handle selection change.
Link Posted: 26-Oct-2006 05:23
Hi,

SelectedNodeChanged does not seem to work, at least with the evaluation version. To try it, I launched my project in debug mode and put a breakpoint on the event.

Nothing happens when I click on a node.

Also, I noticed that after the init, load and prerender treeview event run, the unload event also launch ?!?

May does it have something to do with my problem ?

Thanks,
Link Posted: 26-Oct-2006 05:33
See the demo at
http://www.9rays.net/asp.net/treeview/Demos.aspx?demo=program_server_events

Select any node. Click postback page. And see the value at SelectedNodeChanged section. It seems to work.


Also, I noticed that after the init, load and prerender treeview event run, the unload event also launch ?!?

May does it have something to do with my problem ?


No, unload event is ASP.NET infrastructure event and does not deal with treeview events.
Link Posted: 26-Oct-2006 05:40
Thank you Evgenyt,

We will use the NavigateUrl property, it works fine.

I will also check for the selectedChanged event on my side.

Thanks again,