treeview PopulateOnDemand - parent node is nothing



When PopulateOnDemand is true, the treeview event handler for the
TreeNodePopulate event gets the TreeNodeEventArgs as a parameter.

The TreeNodeEventArgs contains the tree node to be populated, and child
nodes can be added to it.

Why is the Parent of the node contained in TreeNodeEventArgs always equal to

I'm not talking about the root node, but about nodes which have been added
as child nodes to the root or deeper.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question