Home - Forums-.NET - FlyTreeView (ASP.NET) - Treeview in a sharepoint webpart

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Treeview in a sharepoint webpart
Link Posted: 19-Jul-2006 08:32
hello
is it possible to rener a treeview in sharepoint web part?
ive been trying to do that without anu success..
i can create the tree and add child nodes, but the tree wont render on the screen.
all i get is a blank webpart.
ive been trying to do that in 2 ways :
treeview member of the webpart class, initialized and populated in the createchildrencontrols method

treeview created and rendered in the renderwebpart method.

i dont get any errors, but i also get no tree on the screen.
can anyone help me with this/
thanks
Link Posted: 20-Jul-2006 01:47
The FlyTreeView control (version for ASP.NET 1.1) requires the client runtime files (javascript and images).
They're located at /aspnet_client/ninerays... vitual folder of IIS after control installation.

You may safely copy these files to the required location of your sharepoint application and modify the FlyTreeView.ClientRuntimePath to a new value (if required).
Link Posted: 17-Aug-2006 09:14
Hi,

I developped a Webpart using the Demo FlyTreeView Version 3.6.3.23 a few weeks ago without any problem. The control was simply copied to the Global assembly cache (GAC) along with my webpart. When coming back from vacation  8) demo time was expired and nothing worked anymore. After buying the Developer's version 3.6.3.29 and doing a full recompile, I thought that I would simply need to copy the new control and webpart to the GAC to get it back working.

Not so simple  

I did try to make an install directly on the server but still would not work!

Any idea ???
Link Posted: 18-Aug-2006 06:56
You just need to make sure two things:
1) Proper assembly is used by your webpart (check its version)
2) Proper client runtime in the /aspnet_client/ninerays... folder of IIS - the version number is present in the folder name.