Controlling the srolling bar position in ASP & C#

G

Guest

Hi

I need to be able to control the position of the scrolling bar when I move from one page to another page
For example, when I click on a button to process a special action done in a second page, when I come back, I want the original page to be at the same position than before
I also need to do this through the behind code in C

Thanks for your help
 
K

Kevin Spencer

Your only recourse is to use bookmarks (anchors) in the page. This is the
only way a browser can be directed to a portion of a page. The bookmarks are
appended to the Query String to indicate where to focus. Example:

<a name="SomeBookmark">

Here's a URL to the page using that bookmark:

http://somedomain.com/somepage.aspx#SomeBookmark

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Philippe V. said:
Hi,

I need to be able to control the position of the scrolling bar when I move from one page to another page.
For example, when I click on a button to process a special action done in
a second page, when I come back, I want the original page to be at the same
position than before.
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top