Need help with the following:.
I am loading a treeview on pageload.
The user clicks on a button... at serverside I want to insert several new nodes to a Parent Node only if the child nodes does not already exists.
Now I can find the parent node... it exists. By doing the following I thought I get a count of the "child" nodes. I am getting 0 (zero) count event though that node (that I found) has child nodes.
pNode = rtv.FindNodeByValue(nodeVal.ToUpper(),
true);
if (pNode != null)
{
int count = pNode.Nodes.Count
}
How can I determine if a node has child nodes serverside?
Thanks.