Click here to Skip to main content
14,644,700 members
Rate this:
Please Sign up or sign in to vote.
See more:
if i enter in the textbox then i need to work click event of the loginButton without go to the cursor in the button
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 2

Set the defaultbutton of the form to the login button.
<form id="form1" runat="server" defaultbutton="btnLogin">
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

Wrap the controls in an Panel and set the DefaultButton property the id of the button that will cause the submit to happen.

See here[^].
   
v2

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100