why the enter key doesn't submit an asp.net form

Thanks to Matt Berther for his post regarding why the enter key wasn't working to submit an ASP.NET form (using IE, not a browser where enter normally won't submit the form w/out JavaScript).
As Matt notes, the solution is to “Add this line somewhere on the page: , and all will work as expected.”

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s