Home - Forums-.NET - FlyTreeView (ASP.NET) - Can I have 2 checkboxes on a node?

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Can I have 2 checkboxes on a node?
Link Posted: 19-Jun-2007 21:18
I want a second checkbox on each node. Is this possible?

If so can anyone point me in the right direction for the best way to achieve this? (I have populated my Flytreeview using the ConvertTabularDataToHierarchical method and configured the current checkbox using the flyTreeView_NodeDataBound method.)

Thanks in advance.
Link Posted: 20-Jun-2007 02:22
Jack,

The only possible way is to create a FlyNodeType (see FlyTreeView.NodeTypes collection) and add a server template to it containing two  controls.

You should use FlyTreeNode.NodeTypeID property in order to link node to the nodetype you created.

But this will not look like native checkboxes of flytreeview.