how to make the login control to do the login action when key down (enter) in password or login textbox occurs, i saw that the textbox doesn't have a onKeyDown event :S
In visual studio in source view mode select your form by selecting something like <form runat="server"> , after that in Properties Window (ALT + ENTER) set the value of DefaultButton to your login button's name. It would help.