Results 1 to 3 of 3

Thread: Cannot Integrate Google Search in ASP.NET

  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.

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Cannot Integrate Google Search in ASP.NET

    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

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