I have 3 buttons in a form. One of them is the submit button. How can I make it the default button to be clicked when I press the enter key. Is there a property for this?
There is a property for the form: defaultbutton.
<form runat="server" defaultbutton="myButton"> ... </form>
It is first time implemented in ASP.NET 2.0.
2.1m questions
2.1m answers
60 comments
57.0k users