Default (Submit) Web Form button
Hi,
how do i make a button in web form, the default(or submit) button of the form - corresponding to AcceptButton in Windows Forms.
I want the Buton1_Click event to occure when the user presses enter, after typing in a text in a TextBox. Something like when you type in a text in the Yahoo "Search the web:" box and press enter.
This must be simple, but surprisingly is different from Windows forms.
Thanks in advance.
Alex
|