Results 1 to 2 of 2

Thread: Which Hyperlink Clicked

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Which Hyperlink Clicked

    I have a web page with a frameset and many links to other pages. Each hyperlink links to a disclaimer page which has a continue button.

    I want to capture which hyperlink was clicked on and add it's value to a session key so that the second form knows where to go next.

    The problem is that hyperlinks don't have a click event. I could use a link button but .NET won't allow me to add a link button unless it is between form tags and it won't allow me to add form tags to the page that contains the frameset.

    Any help would be appreciated.

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    you can capture the referer url from the second form if that's any good?
    Request.UrlReferer

    I'd get away from using frames with asp.net pages it i were you.
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width