I have treeview. And i used following code to go through tree node.
But its only going through in parent nodes. Its not going child nodes.
How can i change code to goto child nodes
foreach (TreeNode item in trvCategory.Nodes )
{
lblError.Text = lblError.Text + "-@" + item.Value.ToString();
if (CatList.Contains(int.Parse(item.Value.ToString())))
{
trvCategory.FindNode(item.Value).Checked = true;
}
else
trvCategory.FindNode(item.Value).Checked = false;
krds
lakmal
http://www.odesk.com/users/ASP-NET-Web-application-Designer-DotNetNuke-Expert_~~4fc245f3b8e64e9b