Home - Forums-.NET - FlyTreeView (ASP.NET) - FlyNodeType editor

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

FlyNodeType editor
Link Posted: 10-Dec-2007 07:22
Hi.

I'm trying to add a new FlyNodeType to the collection and I'm having trouble creating the ContentTemplate portion. I am attempting to do the following:

1) i open the FlyNodeType editor from the FlyTreeView properties dialog
2) add a new node type to the collection (nodeType1) and attempt to modify the ContentTemplate portion
3) the editor tells me to use the control designer edit templates task to modify the ContentTemplate property

The problem is, this option does not appear in the flytree instance that i've dropped on my form. It could be because there are no nodes defined as they are all created at runtime.

All i'm really trying to do is create a new nodeType that has a different icon. Am I doing this right?

Dave
Link Posted: 10-Dec-2007 07:50
I just dropped FlyTreeView onto standard demo page.

First screenshot:

[attachment=1]1.PNG[/attachment]



[attachment=0]2.PNG[/attachment]



All i'm really trying to do is create a new nodeType that has a different icon. Am I doing this right?

Isn't the nodetype.ImageUrl property what you need?
Link Posted: 10-Dec-2007 08:39
Perhaps it doesn't show up in the trial version?  I'm still testing using the trial version (trying to convince my boss to buy it)

Dave
Link Posted: 10-Dec-2007 10:18
Dave,

My screenshots were made using trial version (the latest stable).

I just opened demo project and dropped the control on one page.

Do you get "FlyTreeView Tasks" dialog in the design mode?
FlyTreeView needs to be focused in order to make the dialog appear.
Link Posted: 10-Dec-2007 12:46
Hi.

This is what I see:



Dave
Link Posted: 10-Dec-2007 13:14
FlyTreeView does not show "Edit Templates" task only when there's no nodetype defined at FlytTreeView.NodeTypes collection.
Do you have any?