Dynamic Loading ChildIgtems | Scrollbar position reset

3 posts, 0 answers
  1. Minwei
    Minwei avatar
    31 posts
    Member since:
    Jul 2010

    Posted 20 Jan 2011 Link to this post

    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. Minwei
    Minwei avatar
    31 posts
    Member since:
    Jul 2010

    Posted 21 Jan 2011 Link to this post

    Any idea?
  3. DevCraft banner
  4. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 25 Jan 2011 Link to this post

    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>>
Back to Top