I have the following:
for (var i = 0; i < children.length; i++){ if(hasClass(children[i], \"lbExclude\")){ children[i].parentNode.removeChild(ch
TreeNode node = tv.SelectedNode; while (node.Parent != null) { node = node.Parent; } CallRecursive(node); private void CallRecursive(TreeNode treeNode)` { foreach (TreeNode tn in treeNode.Nodes) { //Write whatever code here this function recursively loops through all nodes CallRecursive(tn); } }