R
Raghuvansh
I have the following simple code of two panels and two pairs of
textboxes and buttons.
<form id="Form1" method="post" runat="server">
<asp
anel id="Panel1" runat="server" Width="272px" Height="96px">
<asp:TextBox id="Textbox1" runat="server"></asp:TextBox>
<asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
</asp
anel>
<br><br>
<asp
anel id="Panel2" runat="server" Width="288px" Height="80px">
<asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
<asp:Button id="Button2" runat="server" Text="Button"></asp:Button>
</asp
anel>
</form>
What I would like to accomplish is...If i enter some text in Textbox1
and press "ENTER" button, the event associated with Button1 should
trigger. Likewise for Pair2.
How can one get to this with only one server form tag per page.
textboxes and buttons.
<form id="Form1" method="post" runat="server">
<asp

<asp:TextBox id="Textbox1" runat="server"></asp:TextBox>
<asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
</asp

<br><br>
<asp

<asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
<asp:Button id="Button2" runat="server" Text="Button"></asp:Button>
</asp

</form>
What I would like to accomplish is...If i enter some text in Textbox1
and press "ENTER" button, the event associated with Button1 should
trigger. Likewise for Pair2.
How can one get to this with only one server form tag per page.