Home - Forums-.NET - FlyTreeView (ASP.NET) - Last node

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Last node
Link Posted: 26-Jul-2007 02:07
How to find out if selected Node is an Lastnode (have no child)

in the same way as:

if (flyTreeView1.SelectedNode.Level != 0)        
{
-------
}

I do not now the level for lastnode.......
Link Posted: 26-Jul-2007 03:10
I think

if (flyTreeView1.SelectedNode.ChildNodes.Count == 0)
....

So just having empty ChildNodes collection.