title: Enter triggers submit on master page asp.net
body: <p>In my master page there is a submit button for the site search. On most pages this is only triggered if enter is hit whilst the search box has focus. On a couple of pages though hitting enter on the main form it triggers the search submit. </p>
  
  <p>I know that I could fix this by enclosing the search in it's own form tag and then changing every page to have it's own form tag, but I need something that is a lot simpler as a fix as I'm low on time. Is there a way I can tie the text boxes in the form to the correct submit button?</p>
  
  <p>I can post code if you need it.</p>