473,395 Members | 2,783 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Preventing jump to top of screen during postback

This seems like it should be a FAQ, but I have searched around a bit and
have not been able to find the answer:

Everytime I do a post back to the server (for example during a checkbox
click) the screen redraws and jumps to the top of the page. This is quite a
pain in some cases because it causes the user to loose their placd; they
have to scroll the screen down again to fine the next checkbox! Is there a
way to prevent this behavior and make a web form keep it's vertical position
after a server round trip?

Thanks,

-Steve
Nov 17 '05 #1
2 2250
> Is there a
way to prevent this behavior and make a web form keep it's vertical position after a server round trip?


Yes...throw a dotnet over it.
Nov 17 '05 #2
You can use smart navigation, by turning that on on the page level, or in
web.config. However, it is known to have many bugs, so be careful and
thoroughly test your app.

"Stephen Walch" <sw****@proposion.com> wrote in message
news:uZ*************@TK2MSFTNGP10.phx.gbl...
This seems like it should be a FAQ, but I have searched around a bit and
have not been able to find the answer:

Everytime I do a post back to the server (for example during a checkbox
click) the screen redraws and jumps to the top of the page. This is quite a pain in some cases because it causes the user to loose their placd; they
have to scroll the screen down again to fine the next checkbox! Is there a way to prevent this behavior and make a web form keep it's vertical position after a server round trip?

Thanks,

-Steve

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tim Marsden | last post by:
Is there a way of turning off or preventing the print screen function while my application is running. (VB.NET). Thanks Tim
0
by: Fabrice | last post by:
Hello everybody, I work with Access 2002. I have a long form and when I insert a text in the field "np", the event afterUpdate of this field dropdown a combobox named "localite". The code is the...
1
by: John Cosmas | last post by:
I've got a page which loads up a different user control into a placeholder control every time a button is clicked on the parent page. I use a statement like...
6
by: Olivier Matrot | last post by:
Hello, This has probably been asked several times, but It must be clarified for me. I would like to know why sometimes during a postback Page_Load is called after the function marked for...
18
by: DavidS | last post by:
Have resW=screen.width; resH=screen.height in javascript. How can I read these values in ASP.NET source code - Page_Load function of code behind? Any suggestions?
2
by: Robert Sheppard | last post by:
Is there any way to prevent the page from jumping to the top of the screen on a postback. I have a table that I create dynamically with some buttons. Each time I click on of the buttons I launch...
1
by: Brian Christensen | last post by:
Hi, Due to long periods during postbacks I'm experimenting on having a load screen. Best practice for this I have been unable to find so I hope someone here can point me in the right direction. I...
12
by: Mark Rae | last post by:
Hi, See the previous thread Request.Form abuse in this newsgroup... I'm looking for a simple and efficient way to prevent people hijacking the <formtags on my websites and using them to send...
3
by: KK | last post by:
Dear All I want to prevent the screen saver getting activated when my application is running. I have the following code, but still screen saver is activated. What corrections I should make to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.