Discussion Locked

when using DTC's, How to make the Enter Key to submit form?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am using DTC's (Design-Time control) for textboxes and I need help - how to make enterkey work like submitting the form. Can anyone please help me ?

1 reply

by ed woychowsky

I?m not a big fan of Design Time Controls, but that is another matter, to have the enter key submit the form you?ll need to set an event handler. The following code will do the trick for Internet Explorer:

?

Hope this helps.

This discussion is closed to new replies.