This is a migrated thread and some comments may be shown as answers.

RadTreeView scroll to selected node with "Client Side" Javascript

0 Answers 150 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 24 Jul 2009, 03:53 PM
Hi,

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 ?

regards,

Alex

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Alexander
Top achievements
Rank 1
Share this question
or