Bug when DataLoadMode is set to Asynchronous

2 posts, 1 answers
  1. Ivan Zlatanov
    Ivan Zlatanov avatar
    20 posts
    Member since:
    Jul 2009

    Posted 05 Jan 2012 Link to this post


    When you set DataLoadMode to Async, and try to expand any item the scroller always gets reset and scrolls to top. This is really annoying, can you confirm this is a bug please, and not something "by design"?

    Also can you propose a solution, please?

    Kind Regards,

    Ivan Zlatanov.
  2. Answer
    Dimitrina avatar
    3769 posts

    Posted 06 Jan 2012 Link to this post

    Hi Ivan,

    Actually this behaviour is by design due to the specific Asynchronous loading mode.

    You could change it and avoid the scrolling back to the first item like so:

    private double offset;
            private void radTreeListView1_DataLoaded(object sender, System.EventArgs e)
                this.Dispatcher.BeginInvoke((Action)(() =>
            private void radTreeListView1_RowIsExpandedChanging(object sender, Telerik.Windows.Controls.GridView.RowCancelEventArgs e)
                offset = this.radTreeListView1.ChildrenOfType<GridViewScrollViewer>().First().VerticalOffset;

    Please let me know if you have any problems with this code.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top