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

How to Move Scroll

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Armando
Top achievements
Rank 1
Armando asked on 07 Nov 2009, 12:02 AM
Hi, I have a question , I need to move the scroll into a possition in the row  where was selected, this is my code

                                           rgvPatients.SelectedItem = rgvPatients.Items[contRowsPatients];
                                            rgvPatients.ScrollIntoView(rgvPatients.SelectedItem);
                                            rgvPatients.UpdateLayout();

but never update the vertical scroll

1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 09 Nov 2009, 09:31 AM
Hello Armando ,

ScrollIntoView should be enough to bring the item into view and to move the scroll.
Could you send us sample project so that we can investigate it?

Regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Armando
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or