|
-
Aug 4th, 2004, 07:45 AM
#1
Thread Starter
Member
web form submit behavior in ASP.NET RESOLVED
How can I stop or catch or detect when a user hits enter in my web form. I have all of the database input code inside a submit button and if the user hits enter the form submits, is cleared and missed all of my code. Also the user hates the form submit on enter behavior.
Is there some way to detect an event argument or something in the page unload event (or some event) to check if it was triggered by enter and if so then go back? What is the asp.net code equivalent of the user hitting the back key?
I am hoping I do not need a client side javascript here because it seems like a lot of work... and I don't know javascript.
Thanks.
Last edited by soskinny; Aug 6th, 2004 at 09:43 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|