RadTreeView scroll to selected node with "Client Side" Javascript

1 posts, 0 answers
  1. Alexander
    Alexander avatar
    6 posts
    Member since:
    Jun 2009

    Posted 24 Jul 2009 Link to this post


    I'am using RadTreeView with much RadTreeViewNodes. The tree itself is nested in an RadAjaxPanel and the RadAjaxPanel is nested in a RadPane of a RadSplitter.

    Now when i select a Node in the Tree, the node become highlighted. - fine
    Now i scroll down so that the selected node is outside of the current view.
    In the next Step I call a javascript Function which perform the following steps:
    - Get the RadTreeObject
    - selectedNode = tree.get_selectedNode();
    - selectedNode.scrollIntoView();

    But nothing happens. Of course i checked that selectedNode is not null.
    Is there anything to consider ?


Back to Top