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

x
?
Solved

C# Bookmark

Posted on 2010-08-29
4
Medium Priority
?
525 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
  • 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 2

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 2

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline

972 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