I have 2 ASP textboxes for Login and Password. When I enter the password and click enter it should click the login button. Tried a lot from google like placing all of them in a panel. Can anyone help me with this?
Thanks
Password.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + LoginRequest.UniqueID + "').click();return false;}} else {return true}; ");