Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-02
4
Medium Priority
?
193 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
2 Comments
 
LVL 15

Accepted Solution

by:
ozymandias earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

877 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