Hi,
mldesanctis:
I see that option, but I want to pick and choose which folders are open by content, not by depth.
The TreeNode has an Expand method, which can expand the TreeNode,
for example:
if (node.ChildNodes.Count != 0)
{
foreach (TreeNode tn in node.ChildNodes)
{
if (tn.Text == strTitle)
{
tn.Expand();
}
else if (tn.ChildNodes.Count != 0)
{
foreach (TreeNode tnNode in tn.ChildNodes)
{
retriverNode(tnNode, strTitle);
}
}
}
}
Hope it helps.