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

node..scrollIntoView not working

2 Answers 119 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 10 Dec 2013, 03:06 PM
I reviewed a number of support articles and forum messages regarding scrollIntoView.

The radTreeView is within an iframe.   When I call scrollIntoView with or without a timeout, it does not scroll.

I tried changing the page to use a radpane with a radsplitter, but I can't get rid of the border.  I didn't get far enough to see if the scrolling methods would work.

Do the scroll methods work when the object is within an iframe?

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 13 Dec 2013, 02:30 PM
Hello Peter,

Thank you for contacting Telerik support.

In order to have the scrollIntoView you have to have the height property of RadTreeView set to some value so that the internal scroll is visible. Please have in mind that the scrollIntoView is not working with the scroll of outer container.

Hope this will explain the issue. If you have further questions please don't hesitate to contact us again.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Peter
Top achievements
Rank 1
answered on 13 Dec 2013, 03:16 PM
Thanks, I didn't have a height, now it works.
Tags
TreeView
Asked by
Peter
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Peter
Top achievements
Rank 1
Share this question
or