ScrollBar

  • Thread starter Thread starter Angelo
  • Start date Start date
A

Angelo

hi,

I have a problem with using ScrollBar.In my form there is a DataGrid which
has a ScrollBar. When I add a new row to my DataSet , this ScrollBar goes to
end .Now with a button clicking, I add another row to my DataSet , at this
time I
want this ScrollBar goes to first .How can i send the DataGrid ScrollBar to
first
point of DataGrid (when it is at the end)?



Regards
 
if you have any span tag in the first row of the grid.
you can access that span object and call ScrollToView method on that.

hth,
Av.
 
Back
Top