Can I associate a Submit button with the Enter key

Discussion in 'ASP .Net' started by Thirsty Traveler, May 12, 2006.

  1. I am not a Web programmer, so this question will be rather basic. I am
    wondering how I go about associating a Submit button with the enter key so
    that I can avoid having to click on it after data fields are filled.
     
    Thirsty Traveler, May 12, 2006
    #1
    1. Advertisements

  2. You could use this free control to solve the problem.
    http://www.metabuilders.com/tools/DefaultButtons.aspx

    And here's a good article on the subject:
    http://www.allasp.net/enterkey.aspx

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "Thirsty Traveler" <> wrote in message
    news:...
    >I am not a Web programmer, so this question will be rather basic. I am
    >wondering how I go about associating a Submit button with the enter key so
    >that I can avoid having to click on it after data fields are filled.
    >
    >
    >
    >
    >
     
    Steve C. Orr [MVP, MCSD], May 12, 2006
    #2
    1. Advertisements

  3. read this

    http://www.beansoftware.com/ASP.NET-Tutorials/Accept-Enter-Key.aspx

    --
    Regards

    John Timney
    Microsoft MVP

    "Thirsty Traveler" <> wrote in message
    news:...
    >I am not a Web programmer, so this question will be rather basic. I am
    >wondering how I go about associating a Submit button with the enter key so
    >that I can avoid having to click on it after data fields are filled.
    >
    >
    >
    >
    >
     
    John Timney \( MVP \), May 12, 2006
    #3
    1. Advertisements

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. KathyB
    Replies:
    0
    Views:
    599
    KathyB
    Jul 24, 2003
  2. =?Utf-8?B?U2FuamVlYiBTYXJhbmdp?=

    Default button mapped to the Enter key would be "Submit"

    =?Utf-8?B?U2FuamVlYiBTYXJhbmdp?=, Feb 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    835
    Ian Oldbury
    Feb 6, 2004
  3. Megha Vishwanath
    Replies:
    2
    Views:
    10,372
    tutorialsmaster
    Oct 2, 2009
  4. BrianDH

    Enter Key H*ll, control enter key submit button

    BrianDH, Jan 12, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    654
    Anders Matthiessen
    Jan 12, 2005
  5. M P
    Replies:
    1
    Views:
    843
  6. Guest
    Replies:
    2
    Views:
    1,878
    Guest
    Oct 25, 2004
  7. Matt
    Replies:
    1
    Views:
    742
    Michael Winter
    Mar 6, 2004
  8. Megha Vishwanath
    Replies:
    3
    Views:
    1,001
    Megha Vishwanath
    Jul 20, 2004
Loading...