Enter key behavior in gridview control

Discussion in 'ASP .Net Web Controls' started by JimC, Dec 9, 2006.

  1. JimC

    JimC Guest

    Hi,

    I'm using a GridView control to display/edit records from a SQL Server data
    source. I've enabled the edit and delete buttons in the control. When in
    edit mode, the Update and Cancel buttons are displayed in the row being
    edited.

    However, if I press the Enter key after making changes to the row, my
    changes are discarded. I'd like to modify this behavior so that the Enter
    key causes the currently edited record to have its changes saved.

    Can anyone explain if this is possible and how to do it with the Gridview
    control?

    Thanks in advance!
    Jim
    JimC, Dec 9, 2006
    #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. Antonio

    enter key behavior

    Antonio, Nov 9, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    367
    Jason Kester
    Nov 9, 2005
  2. BrianDH

    Enter Key H*ll, control enter key submit button

    BrianDH, Jan 12, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    376
    Anders Matthiessen
    Jan 12, 2005
  3. M P
    Replies:
    1
    Views:
    456
  4. Matt
    Replies:
    1
    Views:
    496
    Michael Winter
    Mar 6, 2004
  5. HopfZ
    Replies:
    0
    Views:
    544
    HopfZ
    Aug 28, 2006
Loading...

Share This Page