I don't want the enter key submitting a webform :'(

G

Guest

Hi everybody!

I need some help here. I have some .aspx pages in my application with some
textboxes, Submit buttons, etc. All of them work perfect, but I don't know
why, when I press the Enter key, I leave session and have to login again.

I also have a usercontrol (.ascx) which I use in the top of all of the pages
wich include 2 submit buttons (menu and exit).

Is there anybody here who could help me avoid this problem? I don't know if
I can disable the enter key in the whole application or whatever...

Thanks.

fasenjof
 
?

=?iso-8859-1?Q?Yunus_Emre_ALP=D6ZEN_=5BMCP=5D?=

I think, signout button is the first button on the page.
The problem arises here. I suggest you to use a hyperlink
or image, a button for signout instead of a button
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,141
Latest member
BlissKeto
Top