Solved

C# Bookmark

Posted on 2010-08-29
4
518 Views
Last Modified: 2013-12-17
my query is when C# page is loading i need to use Bookmark to go certian point of same page.
i use below coding but its not working please see beloe
 protected void Page_Load(object sender, EventArgs e)
    {
        link1.HRef = "test1.aspx";
    }

int the html page code is below

<a id="link1" runat="server">Book mark is working</a>


please let me know where iam doing mistake or show me example.

i try to use with Response.redirect("test.aspx

But i don't know how to do that please help me.thx
0
Comment
Question by:lankapala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33552984
Hi,

Please check link:
How to go to a specific point in asp.net page

Regards,
VSS
0
 
LVL 1

Author Comment

by:lankapala
ID: 33553197
Error showing Unknown server tag 'asp:History'.
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33553276
Hi,

Here is the paragraph from same article on link.

In ASP.NET Extensions 3.5, the History control has been removed.  However, the functionality is now incorporated in the ScriptManager control.  Here's the code you need in an ASP.NET AJAX page to track specific page  states and save those states for later. Note that what I previously  called a page save-point is referred to as a history-point in the  ASP.NET Extensions 3.5 naming convention.

Happy Coding.

Regards,
VSS
0
 
LVL 1

Accepted Solution

by:
lankapala earned 0 total points
ID: 33553278
i found how to do that :
this is a way
Response.Redirect("rent.aspx#top");
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 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