Setting Login Control to have Enter Button as default Button

This is how you would set the login controls Login Button as a default Button.

Wrap your Login Control inside a panel -

<asp:Panel ID="pnlLogin" runat="server" DefaultButton="login1$LoginButton">

// your Login Control

</asp:Panel>

0 Responses to "Setting Login Control to have Enter Button as default Button"

Post a Comment