How to let 'Enter' key stroke to do the same thing as hit 'Submit' button in ASP.NET 2.0 application?
Posted on 2007-11-27
In login page of clasic asp application, if user enters password in password field and hit the 'Enter' key, the page is submitted without need to click the 'Submit' button.
How to do the same thing in ASP.NET 2.0 application? I think it should be easy but I cannot find the solution.
Thanks for your help.