I guess, because you are talking about using Java/VB script, that you want
to disable enter key in Web Application. In that case there is no way for C#
to help you as to validate whenever user has pressed enter form must be
posted back to server and that isn't what you probably want to do... so you
are stuck with client languages => VB script/Javascipt.
"Stephen" <st*********@hotmail.com> wrote in message
news:#y**************@TK2MSFTNGP12.phx.gbl...
Hi,
How do I disable the enter key for a "Form"? so that user has to click the
"Submit" button.
Is there a way of doing it other than using Java/VB script?
Thanks,
Stephen