Web Development Blog

ASP.NET submit form when pressing enter key

It is commonly known that with ASP.NET, when pressing the enter key the page will submit but not fire the event attached to the submit button. So what can you do about this?