Making A ScrollBar Go To Selected Record In TreeView ASP.Net
- by Nick
I have a treeview control that gets populated at runtime with a pyramid of employee names. I put the css scrollbar on the view by putting overflow:auto" in the tag where the treeview is located. The users are now asking me to to have the scrollbar go down in the treeview where a treeview item is selected.
How do I make a scroll bar to go to a place where the treeview has been selected?
Note:
treeView1.SelectedNode.EnsureVisible();
is not available in asp.net need another way.