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
 

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

Back
Top