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