This is a discussion on "Enter key logs out instead of submits" within the ASP.NET Forum section. This forum, and the thread "Enter key logs out instead of submits are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Enter key logs out instead of submits
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Enter key logs out instead of submits
I have an user control that I use as a header for all my pages. In this user control is a button the user can click to logout. In my content area there is a form with serveral controls and a submit button. The problem is, after I type in information to the various controls on the form and hit enter to submit, the logout button functionality is performed instead of the submit buttons. Any ideas on how to fix this?
|
|
|
|
|||
|
Re: Enter key logs out instead of submits
I think it may because of the focus. I suggest you control what you're typing, that way if you hit "Enter" or "Return" you call whatever action performs the submit button.
|
![]() |
| Tags |
| enter, key, logs, instead, submits |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| activity logs | luv2php | PHP Forum | 4 | Jun 13th, 2008 01:04 |
| Using standard web logs | eon201 | PHP Forum | 30 | Oct 31st, 2007 16:09 |
| [SOLVED] Windows live chat logs | alexgeek | Other Programming Languages | 2 | Oct 29th, 2007 15:36 |
| Enter Table On Several Pages | magpie | Starting Out | 8 | Jul 23rd, 2007 19:29 |