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

ScrollIntoView does not work after ExpandAllHierarchyItems

3 Answers 29 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Long
Top achievements
Rank 1
Long asked on 13 Sep 2011, 08:04 PM
Good morning, Telerik team,

I could not make ScrollIntoView work after calling ExpandAllHierarchyItems like this:


radTreeListView.ExpandAllHierarchyItems();                         
 radTreeListView.ScrollIntoView(myItem);

It seems that ExpandAllHierarchyItems takes too much time, ScrollIntoView
 was called when the radTreeListView is expanding.

Is there any way to call ScrollIntoView after calling ExpandAllHierarchyItems ?

Thanks in advance,
Long

3 Answers, 1 is accepted

Sort by
0
En
Top achievements
Rank 1
answered on 29 Nov 2011, 03:47 AM
I have a same problem with RadTreeListView, i have try to remove ExpandAllHierarchyItems but still doesnt work.
0
Dimitrina
Telerik team
answered on 29 Nov 2011, 03:37 PM
Hi En,

 Could you please use the ScrollIntoViewAsync method instead of ScrollIntoView?


Best wishes,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
En
Top achievements
Rank 1
answered on 30 Nov 2011, 02:07 AM
Hi telerik team,
Could u please give to me an sample of ScrollIndexIntoViewAsync?
Tags
TreeListView
Asked by
Long
Top achievements
Rank 1
Answers by
En
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or