"non scrolling" page

P

Peter

Hi

I have an ascx which displays a lot of data, and near the bottom is a
textbox where the user can enter data and save it when he clicks a
"save" button beside the text box.

When he clicks "save" there is a postback, the data is saved, and the
page is displayed again.

But when this happens, the page is displayed from the top again. How do
I get the page to stay at the same position on the screen where the
user entered data in the textbox?

Thanks,
Peter



--
 
P

Peter

Peter said:
But when this happens, the page is displayed from the top again. How
do I get the page to stay at the same position on the screen where the
user entered data in the textbox?

I have found "Page.MaintainScrollPositionOnPostBack = true" works fine
for me.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top