Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

Thanks

share|improve this question
add comment

2 Answers

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

Check out MSDN: http://msdn.microsoft.com/en-us/library/ee556856.aspx

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
add comment

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
add comment

Your Answer

 
discard

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.