Here is a sample of <div> with default button, that will be triggered when you hit enter button on any element which is in the division.
<div onkeypress="return WebForm_FireDefaultButton(event, '<%= btndefault.ClientID %>')">
<!-- put your form cntrols here -->
<asp:Button ID="btndefault" runat="server" Text="Click" />
</div>
No comments:
Post a Comment