SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to implement a single page with a: - search part - search result - display form if no result is found

Any samples?


share|improve this question

Have you considered using the existing Search Center templates for this?

Check out MSDN.

share|improve this answer
Yes, but i can't find much info. The top op my page should contain a 'checkbox form' to ex/include specific parts of information in the searchresult. The bottom of the page should contain the searchresult, (refreshed with ajax). The XSLT of the searchresult will handle the 'no result option' (thanks to mike for that tip) – Marco Oct 18 '10 at 18:40
To be able to create a search site you need to activate a feature called something like "SharePoint Search Enterprise feature" (cant remember the exact name right now). Then create a Search center. Then go to Site Settings > Search settings to point your search box to that search center and set other search related settings – Anders Rask Oct 19 '10 at 14:08

All of the web parts used on the search center pages are available for other pages. The best way to provide feedback when no results are found is to change the XSL in the result web part. There is a section for formatting that message and it is easiest to find by searching for the message.

share|improve this answer
Thanks for the tip! – Marco Oct 18 '10 at 18:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.