Creating a Site Context Search Box that Uses Portal Search Results

SharePoint Products and Technologies Sample :
Learn how to add a custom search box to SharePoint Portal Server sites by using sample code for the site context search box.

Use the search box sample to customize the Windows SharePoint Services site-level Search box to return Microsoft SharePoint Portal Server Search (SharePointPSSearch) results.

This download contains sample Microsoft Visual C# code for creating the custom search box and a deployment package (CAB file) for installing the sample.

You can modify this sample code to fit your needs.

Aucun commentaire: