Cannot Integrate Google Search in ASP.NET
Code:
<div id="searchbox">
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="15" maxlength="255" value="" />
<input type="hidden" name="sitesearch" value="ieee-sb.uwaterloo.ca/" />
<input type="submit" value="Search" />
</form>
</div>
I'm using this code to create a search bar that will search only on the website above. It works when I put it into a html file, but when I put it in the rightnav user control in the ASP.net application, it only refreshes the page. Any clue why?
Re: Cannot Integrate Google Search in ASP.NET
Re: Cannot Integrate Google Search in ASP.NET
Hey,
The entire process that you need to follow is also listed in this article:
http://dotnetslackers.com/articles/a...om-Search.aspx
Hope that helps!!
Gary