I have a tree that utilizes ManualSmartCallbacks to load certain nodes. When the page loads, the tree loads an Accounts root and the names of all of the accounts as follows:
Node root = treeClientAccounts.Nodes.Add("Accounts", "AccountsRoot");
Node acct = root.Nodes.Add(NodeName, NodeKey); //Name and Key (Tag) are from a data table
acct.ShowExpand = true;
}
When the node is expanded for one of these account nodes the DemanLoad event is fired and I can load the children in a similar fasion. Most of these children are just leaf nodes, however, some of them will have child nodes and I want to utilize the DemandLoad funtionality the same way as above. The problem is that when the DemandLoad event fires on these nodes that were loaded on demand in the previous step, no way of identifying the node available. e.Node.Tag, e.Node.Name, e.Node.[Whatever] is all null or empty. How can I assign a Tag (or anything else) during the DemandLoad event so that its available the next time the DemandLoad event is called?
Hopefully this makes some sense. If not, let me know and I can give you more detail and code.
Thanks.
Is this an UltraWinTree question? A lot of these terms are unfamiliar to me and it sounds like maybe you need to post this in the UltraWebTree forum.
Sorry about that - I thought I was in the WebTree Forum. Thanks for pointing that out.