how datagrid scrollbar can keep same position after postback

  • Thread starter Thread starter deepika
  • Start date Start date
D

deepika

Hi,
I have a datagrid with 200 rows and an iframe adjacent to it.
When I click on the row, the details of that row show up in the
iframe.
Now suppose I click on the 150th row, the postback occurs and I lose
the view of my selected row because the datagrid now has the scrollbar
repositioned to the top,with datagrid showing the first 70 rows.

How can I keep the scrollbar where it was before the postback so that
the selected row(which in this case is at the bottom of the
datagrid)remains in focus after the postback event?

Please don't suggest pagination.
TIA
Deepika
 
Back
Top