Anchors in controls ( User Controls )

  • Thread starter Thread starter Newbie
  • Start date Start date
N

Newbie

Hi,

I want to use an anchor in my control so that when I place it on a page it
will always go to the top of the page.

So on my Host page I put

<a name="top" />

In my link on the control I put

< a href="#top" />

This does not work, any ideas ?
 
OK I solved that.

Use the Httpcontext to get the current url and then set the navigateurl to
the right place.
 
Back
Top