Link to home
Start Free TrialLog in
Avatar of lankapala
lankapala

asked on

C# Bookmark

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
Avatar of Vikram Singh Saini
Vikram Singh Saini
Flag of India image

Hi,

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

Regards,
VSS
Avatar of lankapala
lankapala

ASKER

Error showing Unknown server tag 'asp:History'.
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
ASKER CERTIFIED SOLUTION
Avatar of lankapala
lankapala

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial