SharePoint Developer Center > SharePoint Products and Technologies Forums > SharePoint - Search > Search Results on a Custom Results page not showing up
Ask a questionAsk a question
 

QuestionSearch Results on a Custom Results page not showing up

  • Tuesday, November 03, 2009 3:15 PMmcmcom Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hi all,
    trying to implement search on my SP site here and having some issues.
    I implemented the SPSWC:SearchBoxEx control in my master page to provide search functionality.  When utilized in it's standard form it works fine.  However it returns results in a page that exists in the site collection(which is a parent of where my site is) and the page it shows is under _layouts/OSSSearchResults.aspx. 

    I tried moving the search results using the "SearchResultsURL" property in the SPSWC:SearchBoxEx control.  When i do this and point it to a search results page in my site (that contains the styling and masterpage that i want) i just get blank results.  No errors or anything  - just a blank page.   On my search results page all i have is the SearchResultsWebPart which is basically the same thing that exists in that OSSSearchResults page (i think).

    Just wondering if anyone would know why the results are not showing up in my new search results page?  do i have to link it to the search control somehow? 

    Also as an aside the results are searching the entire site collection and i was wondering how to limit it to just my site without having a drop down list in front of it.  Is there a search prefix or property i can set in this SearchBoxEx control to filter results?

    thanks in advance,
    mcm
    mcm