Solved

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

Posted on 2006-11-02
4
189 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

821 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