Redirect to a bookmark serverside

  • Thread starter Anders K. Jacobsen [DK]
  • Start date
A

Anders K. Jacobsen [DK]

Hi.

I have a basket which i located a the bottom of the page. The basket can be
shown / hidden by pushing a bottom a the top. This posts back to server and
i hide/show a usercontrol containing the basket. Sometimes the contents is
to long the the basket is not visible ( the page is ti long). I have created
a bookmark at the basket location of the page <a title="basket"/> and want
to redirect to this bookmark when clicing show basket. I have tried
ReponseRedirect("#basket"); but that did´nt to the trick. Any suggestions
how to do this?

Regards
Anders
 
M

Martin Carolan

Bookmarks are client side not server side, you could try something like Response.Write("<script>window.location='#basket';</script>");
not certain about that though

Hello Anders K. Jacobsen [DK],
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top