title: Make Google Searchbox code compatible with ASP.NET WebForms
body: <p>I was provided the following code to integrate into my ASP.NET WebForms page:</p>
  
  <pre><code>&lt;form action="http://www.google.com/cse" id="cse-search-box" target="_blank"&gt;
    &lt;div&gt;
      &lt;input type="hidden" name="cx" value="partner-pub-8127518365728966:9snx3s9v6fx" /&gt;
      &lt;input type="hidden" name="ie" value="ISO-8859-1" /&gt;
      &lt;input type="text" name="q" size="25" /&gt;&lt;br /&gt;
      &lt;input type="submit" name="sa" value="Search" class="formoutput"/&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  &lt;script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;amp;lang=en"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>However, I'm not sure how to do this because of the extra form element that this poses.  Has somebody translated this to work with ASP.NET WebForms previously, and if so can you help me out?</p>
  
  <p>Thanks!</p>