By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,584 Members | 1,803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,584 IT Pros & Developers. It's quick & easy.

Controlling the srolling bar position in ASP & C#

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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." <an*******@discussions.microsoft.com> wrote in message
news:92**********************************@microsof t.com...
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

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.