RadTreeListView - Autoscroll nodes to be visibled on UI

2 posts, 0 answers
  1. Neha
    Neha avatar
    2 posts
    Member since:
    Dec 2012

    Posted 21 Jun 2013 Link to this post

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 26 Jun 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top