ASP.NET Login Control default button
Posted on 2007-07-24
I have created a form with the login control on it. I changed the button to include an image so it stands out better. Now I want to make the login the default button when the user hits the ENTER key. In other forms I just use Page.Form.DefaultButton = LoginButton.UniqueID in the laod event. However, since the login button is within the login control I cannot acces it from the form level.
Does anyone know how to have the login button within the login control the default button on the page??