SharePoint Products and Technologies Sample: Creating a Site Context Search Box that Uses Portal Search Results

    Learn how to add a custom search box to SharePoint Portal Server sites by using sample code for the site context search box.
    • Version:


      File Name:


      Date Published:


      File Size:

      332 KB

        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.
    • Supported Operating System

      Windows Server 2003

        • This download works with the following applications:
          • Microsoft Office SharePoint Portal Server 2003
          • Microsoft Visual Studio .NET
      • To install this download:
        1. Download the file by clicking the Download link (above) and saving the file to your hard disk.
        2. Double-click the ContosoSharePointSearchBox.exe program file on your hard disk to start the setup program.
        3. Follow the instructions on the screen to complete the installation.
        Instructions for use:

        To install the sample please refer to the readme in your installation directory.

        To remove this download:

        To remove the download file itself, delete the file ContosoSharePointSearchBox.exe.