knowing which hyperlink was clicked

Discussion in 'ASP .Net' started by =?Utf-8?B?YmJkb2J1ZGR5?=, Jul 21, 2005.

  1. Hi,

    Is there a way to know if a specific hyperlink is clicked?

    I have two hyperlinks in the same form, Add Mode and Update Mode, that both
    Navigate URL properties go to the same site but I would like to disable some
    controls if the Update mode is clicked vs Add Mode being clicked.

    Regards
    Brian
     
    =?Utf-8?B?YmJkb2J1ZGR5?=, Jul 21, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?YmJkb2J1ZGR5?=

    Curt_C [MVP] Guest

    bbdobuddy wrote:
    > Hi,
    >
    > Is there a way to know if a specific hyperlink is clicked?
    >
    > I have two hyperlinks in the same form, Add Mode and Update Mode, that both
    > Navigate URL properties go to the same site but I would like to disable some
    > controls if the Update mode is clicked vs Add Mode being clicked.
    >
    > Regards
    > Brian


    1)pass an extra value in the URL to indicate the source.
    2)are these asp: controls or simple href tags?

    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com
     
    Curt_C [MVP], Jul 21, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Martin
    Replies:
    3
    Views:
    787
    Teemu Keiski
    May 14, 2005
  2. PokerMan

    Knowing which control caused postback

    PokerMan, Apr 13, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    402
  3. Mike Gleason jr Couturier

    Knowing if a button has been clicked in Page_Load

    Mike Gleason jr Couturier, Jul 30, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    585
    Milosz Skalecki [MCAD]
    Jul 31, 2008
  4. Yossi

    Which button was clicked and on which row?

    Yossi, Nov 17, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    753
    Yossi
    Nov 17, 2006
  5. Replies:
    2
    Views:
    117
    David Dorward
    Dec 28, 2005
Loading...

Share This Page