title: Allow Enter key to login in asp.net?
body: <p>I have a standard asp:login control:</p>
  
  <pre><code>&lt;asp:Login ID="mbLogin" runat="server" TitleText=""
    DestinationPageUrl="~/Default.aspx"
    PasswordRecoveryText="Forgot your password?"
    PasswordRecoveryUrl="~/LostPassword.aspx"&gt;&lt;/asp:Login&gt;
  </code></pre>
  
  <p>In Internet Explorer, pressing Enter does not submit the form, but IE beeps at me 10 times rapidly. In other browsers Enter works perfectly fine and submits the forum as you'd expect.</p>
  
  <p>I've seen <a href="https://stackoverflow.com/questions/399826/how-to-submit-a-form-using-the-enter-key-in-asp-net">this question</a> but that only works when you have actual form element with an actual button, not the login control as a whole.</p>
  
  <p>Why is it being blocked in IE (and why 10 times for some reason)? Is there a workaround?</p>