Hi there,
I am setting a treeview datasource from an XML file, this works great however I cannot get it to expand for the life of me. This si what I have tried.
Quote:
TreeView1.XmlFile = "XmlToc/" + document.Id + ".xml";
foreach (EO.Web.TreeNode node in TreeView1.Nodes[0].SubGroup.Nodes)
{
node.Expanded = true;
}
reeView1.ExpandAll();
What am I missing - shouldn't that work?