Hi all,
I have a long Web page which need vertical scrolling. If I work on the GUI
at bottom of Web page, e.g. clicking a button or selecting an item in List
box, the page refreshes. After page refreshing, the page is automatically
located at the top. This is inconvenient as I need to scroll back to the
location at which I work. Can it be located at the original location, instead
of the top, after the page refreshing ?
Thanks in advance.
W.M. Chung 4 1727
Here's a link to a page that shows how this can be done: http://www.codeproject.com/aspnet/As...ollbarMove.asp
Hope it helps.
Have A Better One!
John M Deal, MCP
Necessity Software
WM Chung wrote: Hi all,
I have a long Web page which need vertical scrolling. If I work on the GUI at bottom of Web page, e.g. clicking a button or selecting an item in List box, the page refreshes. After page refreshing, the page is automatically located at the top. This is inconvenient as I need to scroll back to the location at which I work. Can it be located at the original location, instead of the top, after the page refreshing ?
Thanks in advance. W.M. Chung
Try enabling SmartNavigation=true on the ASP.NET web page. This will auto
generate a script that will return the user back to the position he was
before the PostBack. Although this script works generally on IE only.
WM Chung wrote: Hi all,
I have a long Web page which need vertical scrolling. If I work on the GUI at bottom of Web page, e.g. clicking a button or selecting an item in List box, the page refreshes. After page refreshing, the page is automatically located at the top. This is inconvenient as I need to scroll back to the location at which I work. Can it be located at the original location, instead of the top, after the page refreshing ?
Thanks in advance. W.M. Chung
Using HTML anchors could do the trick. Just tell it in the URL to goto a
specific anchor.
--
Rinze van Huizen
C-Services Holland b.v.
"C-Services Holland b.v." <cs*@REMOVEcsh4u.nl> wrote in message
news:qN********************@zeelandnet.nl... WM Chung wrote:
Hi all,
I have a long Web page which need vertical scrolling. If I work on the GUI at bottom of Web page, e.g. clicking a button or selecting an item in List box, the page refreshes. After page refreshing, the page is automatically located at the top. This is inconvenient as I need to scroll back to the location at which I work. Can it be located at the original location, instead of the top, after the page refreshing ?
Thanks in advance. W.M. Chung
Using HTML anchors could do the trick. Just tell it in the URL to goto a specific anchor.
Or better, create a JavaScript function that will accomplish this and wrap
it in a .NET function.
jdn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Boniface Frederic |
last post by:
Hello,
I have frame displaying the last posted messages.
I set <meta http-equiv="refresh" content="5"/> to automatically refresh the
frame every 5s
My problem is; if I scroll the frame to see...
|
by: kp. |
last post by:
I am writing a very short HTML code such that i can refresh a third party
webpage. A sample of it is as follow:
<html>
<head>
<meta http-equiv="no-cache">
<META HTTP-EQUIV="refresh"...
|
by: Roundy |
last post by:
I have an asp page that shows dynamic data. I have it refreshing every 10
seconds. It is a very long page and when it refreshes it goes back to the
top. I want the page to refresh and keep its...
|
by: Brent |
last post by:
I have a child page opened with a simple open() statement. I'd like to
be able to refresh the parent page and keep the current scroll
position. (If I do an "F5" refresh on IE, for instance, the...
|
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,...
| |
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,...
|
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...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |