R
RC
Hi,
I have built a simple form with 2 text boxes and a button
<form runat=server ....
<asp:TextBox id='txt_1"....
<asp:TextBox id='txt_2"....
<asp:Button id='btn_submit'.....
<asp:Button id='btn_reset' ....
</form>
When I focus on 'txt_1' of the form, and press enter. it will then auto
submit the form.
How can I disable auto submit even if press enter on the textbox? I want
user explicitly click on/focus on the submit button before submit the form.
Thanks.
RC
I have built a simple form with 2 text boxes and a button
<form runat=server ....
<asp:TextBox id='txt_1"....
<asp:TextBox id='txt_2"....
<asp:Button id='btn_submit'.....
<asp:Button id='btn_reset' ....
</form>
When I focus on 'txt_1' of the form, and press enter. it will then auto
submit the form.
How can I disable auto submit even if press enter on the textbox? I want
user explicitly click on/focus on the submit button before submit the form.
Thanks.
RC