Add a hidden submit button:
<input type=submit style="display:none">
and make sure it is the first button on the form. Hitting Enter will have
the same effect as clicking this button. It will cause a postback.
Eliyahu
"ChrisA" <Ch****@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
I want the Return Key to do a postback of an ASP.Net form. What's the
right way to set that up?? I don't want to interfere with the asp.net
framework.
I guess my options are to set the ACTION attribute or inject some
javascript.
This is under 1.2, not 2.0 yet.
Thanks