Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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??
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...