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

RadTreeListView - Autoscroll nodes to be visibled on UI

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Neha
Top achievements
Rank 1
Neha asked on 21 Jun 2013, 01:08 PM
Dear Support Team,

In Silverlight, I am using RadTreeListView for displaying menu vertically. I want submenuitem to be visibled on UI when it's parent is selected. This is not happening because the parent which i have selected is lastly display on UI right now.

Please see attachment with images for following steps:
1. Initially menu looks like Image1.jpg
2. when i click on last item named Lajitelmat, it looks like Image2.jpg. (Here, I want it should scroll automatically and looks like Image3.jpg).

Thanks in advance!!

Br,
Neha

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 26 Jun 2013, 11:15 AM
Hello Neha,

To achieve your goal, you should subscribe for the RowIsExpandedChanged event of the TreeListView, get the last child in a Dispacher and then invoke ScrollIntoViewAsync method to scroll to it and bring it into view. You can check this help article for more information on scrolling to a particular row or column.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Neha
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or