Click here to Skip to main content
15,036,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
how can i use more than 1 default button in asp .net
Posted

1 solution

Try this
<asp:panel defaultbutton=""button1"" runat=""server"><br" mode="hold" xmlns:asp="#unknown" />    <asp:textbox id="textbox1" runat="server"/>
   <asp:textbox id="textbox2" runat="server"/>
   <asp:button id="button1" text="Button1" runat="server"/> <asp:panel xmlns:asp="#unknown">
   <asp:panel defaultbutton="button2" runat="server">
       <asp:textbox id="textbox3" runat="server"/>
       <asp:button id="button2" runat="server"/>
   </asp:panel>
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900