Ask a Question related to ASP.NET General, Design and Development.
-
Craig Phillips #1
moving to an anchor point programmatically
Hi,
Does anyone know how to programmatically move to a anchor point (a tag). I
am using vb.net. When the user presses a server-side control on the webpage,
I need to do some server processing and then I would like the resultant page
to have scrolled down half-way to the relevent part. Any help much
appreciated.
Craig Phillips Guest
-
align anchor point('s) relative to another (between different curves)
what you do for this? -
Changing anchor point on existing path in Illustrator
I want to know if you can change the handle bars on a point that is already in an enclosed path (so you can move each bar to different angles instead... -
CS: Can't select type anchor point after baseline shift
After I do a baseline shift on point text, I can no longer select the text object by its anchor point. Smart guides recognizes the point as an... -
Anchor point and frameset
Hi Everybody Is it possible to use anchor points along with frames (as frames in html)? If it is, how is it done? I'm really looking forward to... -
Linking to an anchor point in a framed page.
I am using an image as a link, which has an 'onMouseUp="MM_openBrWindow' behavior attached. The newly opened window (named; 'help') uses frames. I... -
Kevin Spencer #2
Re: moving to an anchor point programmatically
When the page posts back, use RegisterStartUpScript() to add a script like
the following to your page, to be run as soon as the page loads:
<script type="text/javascript"><!--
document.location = "#tagName";
// --></script>
HTH,
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
[url]http://www.takempis.com[/url]
Some things just happen.
Everything else occurs.
"Craig Phillips" <craigp@smallfry.freeserve.co.uk> wrote in message
news:uM1m%23DVQDHA.3700@tk2msftngp13.phx.gbl...webpage,> Hi,
> Does anyone know how to programmatically move to a anchor point (a tag). I
> am using vb.net. When the user presses a server-side control on thepage> I need to do some server processing and then I would like the resultant> to have scrolled down half-way to the relevent part. Any help much
> appreciated.
>
>
Kevin Spencer Guest
-
Cowboy \(Gregory A. Beamer\) #3
Re: moving to an anchor point programmatically
The easy way is to do a response.redirect to that spot:
Response.Redirect("mypage.aspx#tagName")
Note, however, that this forces two calls from the client. Not a problem if
you are using viewState and do not have a very large viewState, but not
optimal in all situations. Note, also, that this is largely an HTML/HTTP
problem.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"Craig Phillips" <craigp@smallfry.freeserve.co.uk> wrote in message
news:uM1m%23DVQDHA.3700@tk2msftngp13.phx.gbl...webpage,> Hi,
> Does anyone know how to programmatically move to a anchor point (a tag). I
> am using vb.net. When the user presses a server-side control on thepage> I need to do some server processing and then I would like the resultant> to have scrolled down half-way to the relevent part. Any help much
> appreciated.
>
>
Cowboy \(Gregory A. Beamer\) Guest



Reply With Quote

