Solved

ASP.NET postback page location

Posted on 2012-04-13
1
480 Views
Last Modified: 2012-08-14
I have a dropdownlist in the middle of a page.  When the value is changed in the dropdownlist, I have the AutoPostBack property set to True, which I want.  My issue is that when the user changes the value of the dropdownlist and the page posts back, the view of the page is automatically set back to the top of the page, forcing the user to scroll down to the middle of the page again to finish what they were working on.

My question is, is there any way to have a postback and not move the location of the page to the top?
0
Comment
Question by:zintech
1 Comment
 
LVL 3

Accepted Solution

by:
nilesh31 earned 500 total points
ID: 37844007
You need this page directive:
<%@ Page MaintainScrollPositionOnPostback="true" ... %>

Hope this helps
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now