Home - Forums-.NET - FlyTreeView (ASP.NET) - LoadingMessage stays with empty node.

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

LoadingMessage stays with empty node.
Link Posted: 21-Nov-2006 11:26
Hello,

I have a tree that I must show the expand button even thought I don't know if there are child nodes or not.  When I click the Expand button I query my data source to retrieve child nodes, if any.

When I click the expand the LoadingMessage appears under the node.  If childnodes are retrived the \"Loading...\" disappears and is replaced by the child node(s).

If no child nodes are retrieved, the \"Loading...\" message stays and doesn't go away, even though the subroutine has finished and not added any child nodes.  

I have tried.
e.Node.Expanded = false;
and
e.Node.ChildNodes.Clear();
and they do not clear the \"Loading...\" message.

I would like to:
1) show the \"Loading... \" message while checking the data source. (this works)
2) if no children are added to the node and the subroutine completes I would like to clear the expand button (this also currently works)
3) Clear the \"Loading...\" message. (this doesn't work...so far)

Thanks in advance.

Bob T
Link Posted: 21-Nov-2006 12:00
Bob,

This is the bug introduced several builds ago.
The fixed build will be available for download in several minutes.

Thank you.
Link Posted: 22-Nov-2006 05:09
Works great now.  Thanks Evgeny