Click here to Skip to main content
16,012,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When ever i hit enter on any textbox my page, it logout.

I have an asp.net page. I have a logout button on the top of it.

Now whenever i click on any textbox and hit enter it logout.

Help
Posted

1 solution

In the designer, click on your form.
In the properties pane, look for "Accept Button".
Change it to (none)
 
Share this answer
 
Comments
Ravi_Raturi 4-Feb-12 6:15am    
I am using a master page and i don't have any form tag in my child page.

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