<asp:Panel id="pnl" runat="server" DefaultButton="imagebutton1">// Some of your controls and code // <asp:ImageButton id="imagebutton1" runat="server" ImageUrl="images/imge.gif" > </asp:ImageButton>
// Some of your controls and code //
</asp:Panel>
Reference: StackOverflow.com
Tag Archives: Panel
How To: Set Image button as default button
Leave a comment
Posted by Harsh Baid on January 23, 2012 in .NET, ASP.NET, C#, JavaScript
Tags: .NET, ASP.NET, C#, Default Button, Image Button, JavaScript, Panel, Website