Solved

C# Bookmark

Posted on 2010-08-29
4
516 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
 

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
 

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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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