Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Everyone,

I have developed an application in asp.net, so in my login web page, after i enter USERID and Password without clicking on login but, if i click On ENTER (when cursor is in password textbox), the page is navigating to some other page, but i want it to navigate to my homepage. Please kindly reply me quick.. Thanks in advance......
Posted
Comments
hypermellow 18-Sep-14 10:31am    
The user hitting the enter key whilst focus is on a form control usually submits the form.
... can you post your code please?
madhuri@mumbai 18-Sep-14 10:38am    
you can write navigation code on Login button click event...
Sergey Alexandrovich Kryukov 18-Sep-14 13:27pm    
There is nothing to discuss, unless you present some short but comprehensive code sample which can be used to reproduce the problem.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900