aBetcaliareina85
New Member
I have ran into a problem however that I have not had any luck in finding any helpful information about, and hope that someone may have a solution you would be willing to share. I am binding xml to my tree that I create from a database call. Once I get that data binded, I want to be able to allow a user to select a value from a drop down list and find that value in the tree. I did not have a problem finding the node and setting it as the selectednode (where it is highlighted in the tree), however I do have a problem setting the focus of the container to that level in the tree so that the highlighted node is displayed. I only have so much real estate to work with and the tree is semi-large so a scrollbar appears that allows you to scroll up and down to see the entire tree. Does anyone know of a way to set the focus of the control to a value lower in the tree so that the user will not have to scroll down to see the node that is highlighted?<BR><BR>Thanks,<BR>Chris