Results 1 to 3 of 3

Thread: Cannot Integrate Google Search in ASP.NET

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2005
    Location
    Toronto, Canada
    Posts
    357

    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?
    Last edited by khanjan_a2k; Apr 7th, 2010 at 03:00 PM.
    Hey... If you found this post helpful please rate it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width