troubleshooting Question

ASP.NET Login Control default button

Avatar of akobes05
akobes05Flag for United States of America asked on
8 Comments3 Solutions825 ViewsLast Modified:
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??
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros