Home All Groups Group Topic Archive Search About
Author
14 Feb 2006 3:08 PM
Seok Bee
Dear Experts,

Currently, in my web form there is many controls and with a submit button.
When I click Enter is will activate the submit. How can I disable the 'Enter'
key to activate the Submit button?

Regards,
SB

Author
14 Feb 2006 3:11 AM
Cerebrus99
Hi,

If your Button is a Html control, make sure it's HTML is not "INPUT
type="submit".

Check this link for more information : http://www.allasp.net/enterkey.aspx

Regards,

Cerebrus.

Show quoteHide quote
"Seok Bee" <seok***@yahoo.com> wrote in message
news:5A2BE451-70EE-4DEF-8A72-390E42600FC7@microsoft.com...
> Dear Experts,
>
> Currently, in my web form there is many controls and with a submit button.
> When I click Enter is will activate the submit. How can I disable the
'Enter'
> key to activate the Submit button?
>
> Regards,
> SB