Solved

Is it possible to Response.Redirect(), from code behind, to a specific section of an html page?

Posted on 2006-11-02
4
188 Views
Last Modified: 2010-04-16
Is it possible to Response.Redirect(), from code behind, to a specific section of an html page?
0
Comment
Question by:Amitava_B1
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
ozymandias earned 250 total points
ID: 17860989
Yes, it should be :

Response.Redirect("myotherpage.aspx#sectionname");

You have to remember that the #sectionname part of theURL is actually an instruction to the browser to scroll to the <a name="sectionname"> tag, not any kind of server side instruction.
0
 
LVL 15

Expert Comment

by:ozymandias
ID: 17902718
Hi, did this answer your question ?
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question