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

Dynamic Loading ChildIgtems | Scrollbar position reset

2 Answers 58 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Minwei
Top achievements
Rank 1
Minwei asked on 21 Jan 2011, 04:54 AM
Hi Team,

We load first-level data initially, then click each row to expand.
The data of second level is loaded dynamically. When the data loaded, the position of vertical scroll bar will be back to top.

That is if we change the child items collection, the TreeListView's scroll bars just restore to initial state.

Could you help me to solve this problem, please?

Thanks

2 Answers, 1 is accepted

Sort by
0
Minwei
Top achievements
Rank 1
answered on 21 Jan 2011, 02:47 PM
Any idea?
0
Pavel Pavlov
Telerik team
answered on 25 Jan 2011, 09:50 AM
Hello Minwei,

The default behavior of the current  version is to reset the position . Since there are a lot of inquiries for that issue , we are going to reconsider the way RadTreeListView behaves for its future versions.
Meanwhile the only workaround I can suggest is to try scroll in to view the desired item , after the operation, using the ScrollIntoView method of RadTreeListView.

Greetings,
Pavel Pavlov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
TreeListView
Asked by
Minwei
Top achievements
Rank 1
Answers by
Minwei
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or