slitzi Posted September 22, 2003 Posted September 22, 2003 I have a web form that is using two asp image buttons. Unfortunatly when the enter key is pressed it only fires the first button. Does anyone know if there is a way to force the page not to use this button?? Quote
Moderators Robby Posted September 22, 2003 Moderators Posted September 22, 2003 I'm not sure if I understood... Do you want the other button to be the default ? Quote Visit...Bassic Software
slitzi Posted September 22, 2003 Author Posted September 22, 2003 Basically what I have is a I have a page that has a button to open up a new form, then I have a text box and a search button. What I want to have happen is when some one is typing in the text box and hits enter that it envokes that command. What is happening now, when the enter is pressed it is opening up the new form. I can think of how to do this using java script, but I really don't know how to do it using the server side code? Any help would be great Quote
Moderators Robby Posted September 23, 2003 Moderators Posted September 23, 2003 I would go with the javascript Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.