Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MaintainScrollPositionOnPostback

Status
Not open for further replies.

dstrange

Programmer
Nov 15, 2006
87
CA
This works great when a page hits a postback but is there a way for this option to work if I click a link on the page that reposts to the same url but with a querystring attached? Thanks in advance.

 
YOu will have to use javascript. Try posting in that forum. I'm sure someone has posted the same question.
 
if the page is that long you may want to consider breaking the page into smaller pieces to reduce scrolling.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
if the screen is a table then one option is to limit the data using a paging strategy.

if the screen is a form which collects an extensive amount of data before processing, then a wizard driven workflow would work better. each page would contain a subset of similar data.
personal info, professional info, hobbies, credit card, confirmation, etc.
you would then guide the user through the setup.

whether or not you use ajax is independent of reducing the amount of data on the screen.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
I went the cheap way and just used a named anchor. Thanks for all the help guys.
Code:
<a href="#namedanchor"></a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top