edit/update returns grid to top

M

Marc Miller

I feel foolish asking this, its probably sooo obvious, but....

I have a grid with 25 rows per page. If the user scrolls to
the last record and clicks edit, the screen scrolls to the top
of the grid. The user then has to scroll back to the record
to edit it. How do I keep focus on the record that the user
is editing?

TIA,

Marc Miller
 
B

Brock Allen

You can use:

<%@ Page MaintainScrollPositionOnPostback=true %>

If you're using ASP.NET 2.0.
 

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

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top