Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

947 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now