How control which button has focus [ENTER]

Discussion in 'ASP .Net Datagrid Control' started by Olivier Matrot, Feb 17, 2005.

  1. Hello,

    I'm facing a problem with the behavior of the [ENTER] key while editing
    items in a datagrid. I would like to make sure that the cancel button is the
    default button when [ENTER] is hit.

    TIA.
     
    Olivier Matrot, Feb 17, 2005
    #1
    1. Advertising

  2. this link will help understand the behavior of the enter key.
    http://www.allasp.net/enterkey.aspx

    --
    Regards,
    Alvin Bruney [Microsoft MVP ASP.NET]

    [Shameless Author plug]
    The Microsoft Office Web Components Black Book with .NET
    Now Available @ http://www.lulu.com/owc
    ----------------------------------------------------------


    "Olivier Matrot" <> wrote in message
    news:...
    > Hello,
    >
    > I'm facing a problem with the behavior of the [ENTER] key while editing
    > items in a datagrid. I would like to make sure that the cancel button is
    > the default button when [ENTER] is hit.
    >
    > TIA.
    >
     
    Alvin Bruney [MVP], Feb 17, 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. Jim
    Replies:
    4
    Views:
    1,643
    Dave Glasser
    Apr 16, 2004
  2. Replies:
    4
    Views:
    375
  3. BrianDH

    Enter Key H*ll, control enter key submit button

    BrianDH, Jan 12, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    414
    Anders Matthiessen
    Jan 12, 2005
  4. HopfZ
    Replies:
    0
    Views:
    597
    HopfZ
    Aug 28, 2006
  5. Roger
    Replies:
    3
    Views:
    345
Loading...

Share This Page