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.
>