Home All Groups Group Topic Archive Search About

How control which button has focus [ENTER]

Author
17 Feb 2005 3:26 PM
Olivier Matrot
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.

Author
17 Feb 2005 5:05 PM
Alvin Bruney [MVP]
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
----------------------------------------------------------


Show quoteHide quote
"Olivier Matrot" <olivier.matrot@online.nospam> wrote in message
news:edT59TQFFHA.464@TK2MSFTNGP09.phx.gbl...
> 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.
>