Disable <CR> on ImageButton

Discussion in 'ASP .Net Web Controls' started by carlor, Sep 15, 2005.

  1. carlor

    carlor Guest

    Hi there,

    I have a page that contains a number of ImageButtons as well as other
    controls. The problem I am having is that if I hit the carriage return with
    nothing selected, a certain image button click event is fired. I only want
    the click event fired if the button is either clicked or the user tabs to the
    button and hits return. It seems as if the button is taking the default for
    the <CR>.

    Any ideas?

    Thanks,

    Carlo.
    carlor, Sep 15, 2005
    #1
    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. Marcelo

    Prevent Postback with ImageButton

    Marcelo, Jul 1, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    919
    Kairi Zikpin
    Jul 1, 2003
  2. ganesh kolappan

    image/imagebutton client validation

    ganesh kolappan, Jul 3, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    482
    David Waz...
    Jul 3, 2003
  3. Matthew
    Replies:
    2
    Views:
    573
    Ken Cox [Microsoft MVP]
    Jul 9, 2003
  4. =?Utf-8?B?am9l?=
    Replies:
    0
    Views:
    733
    =?Utf-8?B?am9l?=
    Sep 28, 2006
  5. Dan Sikorsky

    HOWTO: Disable TabStop For ImageButton

    Dan Sikorsky, Nov 16, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    439
    Calvin KD
    Nov 18, 2004
Loading...

Share This Page