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

ScrollIntoView not working

1 Answer 49 Views
GridView
This is a migrated thread and some comments may be shown as answers.
madladuk
Top achievements
Rank 2
madladuk asked on 11 Jan 2011, 01:13 PM
Hi.

Strange one as I have used ScrollIntoView before. I have a domain data source and the gridview is bound to the sub entities which works ok. However when I add a sub entity and then use the scrollintoview the selected grid row is not changed.

            data_Paren current = this.DataSource.DataView.CurrentItem as data_Parent;
  
            data_Child o = new data_Child();
             current.data_Child.Add(o);
radGridView1.ScrollIntoView(o);

P

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 11 Jan 2011, 02:24 PM
Hello madladuk,

Shouldn't you scroll to the parent row (current)? Can you try that please?

Alternatively, you can try to use the ScrollIntoViewAsync method.

Best wishes,
Veselin Vasilev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
madladuk
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
Share this question
or