Last post Mar 21, 2013 08:07 AM by tahazubairahmed
Mar 18, 2013 03:43 AM|tahazubairahmed|LINK
I have a following Astreeview Nodes in astreeview. After adding new record i recal the fill method which shows old and newly add record.
When fill() method calls it again collapse all Astreeview Nodes
I need to expand the parent of new added node in astree view.
Mar 19, 2013 03:59 AM|Pengzhen Song - MSFT|LINK
You can try to like below in the treeview's TreeNodeExpanded event:
protected void TreeView1_TreeNodeExpanded(object sender, TreeNodeEventArgs e)
if (e.Node.Parent == null)
string strNodeValue = e.Node.Value;
foreach (TreeNode node in e.Node.Parent.ChildNodes)
if (node.Value != strNodeValue)
Source from http://forums.asp.net/t/1181266.aspx
And also please refer here
Hope it can help you.
Mar 21, 2013 08:07 AM|tahazubairahmed|LINK
I think this thread is about astreeview not asp tree view