|
-
Jun 3rd, 2002, 01:34 PM
#1
making the 'Enter' button fire the Click event for a button in .NET
hello all,
if, on an ASP.NET page, i have multiple buttons that cause PostBack, how do i make it so that hitting the "Enter" key fires the click event for one of the buttons instead of firing a general postback??
Thanks a lot!
Kenton Taylor
[email protected]
-
Jun 3rd, 2002, 01:38 PM
#2
you could probably catch enter using client side javascript, but then you could only call a client side function.
-
Mar 10th, 2003, 11:39 AM
#3
New Member
Generate the click event when ENTER key is pressed
In VB.NET, I have a web application and some web forms. One web form has Submit and Cancel buttons in addition to some other textbox controls. I would like to press Enter button and generate the 'Click' event for the submit button. How do I do this using VB.NET?
Does anyone have some source code?
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
|