ScrollBar

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
 
A

avnrao

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top