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

scrolling event

1 Answer 145 Views
GridView
This is a migrated thread and some comments may be shown as answers.
yarik
Top achievements
Rank 1
yarik asked on 20 Aug 2007, 07:58 AM
hi
is there a way to know if the user scrolled the datagrid
or may by to get the data grid Vscroller ..

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 20 Aug 2007, 01:25 PM
Hi yarik,

Currently there is no official way to access RadGridView scrollbars. We will think about exposing grid scrollbars in our next version, due next month.

You can use the following code to access the vertical scrollbar through grid's hierarchy. Please, note that this code may not work in future versions of RadGridView, so it should be considered a temporary workaround until this feature appears in the product:

RadElement gridElement = (RadElement)this.radGridView1.GridElement;
GridVScrollBar vscroller = (GridVScrollBar)gridElement.Children[3];

 
Regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
yarik
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or