I had a treeiew control and a usercontrol on my web page.The "Expand Level" property of that treeview control is set to '0'.When I run the page ,If I select any node at level 1 or higher in the treeview, and I click on the userControl, then I'am getting this error:
The node at index 1.0 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node (all parents of a selected node must be expanded).
I'am handling the treeview's "OnClick", "OnExpand" and "OnCollapse" events in javascript.But I'am not doing anything with treeview control.It is not going to CodeBehind before giving this error.I'am frustated.Please anyone Help me.
Thankyou
The node at index 1.0 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node (all parents of a selected node must be expanded).
I'am handling the treeview's "OnClick", "OnExpand" and "OnCollapse" events in javascript.But I'am not doing anything with treeview control.It is not going to CodeBehind before giving this error.I'am frustated.Please anyone Help me.
Thankyou