Making A ScrollBar Go To Selected Record In TreeView ASP.Net
        Posted  
        
            by Nick 
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nick 
        
        
        
        Published on 2010-02-26T21:24:08Z
        Indexed on 
            2010/04/08
            19:03 UTC
        
        
        Read the original article
        Hit count: 248
        
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.
© Stack Overflow or respective owner