by Pieter Brinkman
22. January 2009 08:01
You can set the DefaultButton property of the Login control by putting the Login control in a Panel and set the DefaultButton property of the panel to the LoginControlId$LoginButton.
Code example:
<asp:Panel ID="panelLogin" runat="server"
DefaultButton="Login1$LoginButton">
<asp:Login ID="Login1" runat="server" />
</asp:Panel>
Cheers,
Pieter