ScrollIntoView does not work after ExpandAllHierarchyItems

4 posts, 0 answers
  1. Long
    Long avatar
    11 posts
    Member since:
    Jan 2007

    Posted 13 Sep 2011 Link to this post

    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

  2. En
    En avatar
    15 posts
    Member since:
    Nov 2011

    Posted 28 Nov 2011 Link to this post

    I have a same problem with RadTreeListView, i have try to remove ExpandAllHierarchyItems but still doesnt work.
  3. DevCraft banner
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 29 Nov 2011 Link to this post

    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 >>

  5. En
    En avatar
    15 posts
    Member since:
    Nov 2011

    Posted 29 Nov 2011 Link to this post

    Hi telerik team,
    Could u please give to me an sample of ScrollIndexIntoViewAsync?
Back to Top