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.
1.4m articles
1.4m replys
5 comments
57.0k users