Microsoft Office FrontPage 2003      
Developer's Toolkit
Resources | Links | Search
  extend design code  
             
  New Features
 
Microsoft® Windows® SharePoint Services
 
Microsoft® Office SharePoint Portal Server
 
Microsoft Office System
 
.NET Framework
 
 
Real world scenarios that fully expose great new functionality in FrontPage 2003 and Windows SharePoint Services.
 
 
  financial planning finance  
  sales & marketing sales & marketing  
  human resources human resources  
   
  FrontPage Developer's Toolkit > Resources > Tips and Tricks > Extending
 

Copying the Search Form to Custom Pages in Windows SharePoint Services-based Web sites

The search form on the default page of a Windows SharePoint Services-based Web site is actually an ASP.NET control. To add this functionality to custom pages in the site, using FrontPage 2003, simply select the element and do a copy/paste in Design view to the new page. However, this will work only if certain conditions are met. These are:

  • The custom page pasted to, must be a new page made from one of the Web part page templates.
  • The structure of the search form element must be copied completely.

To copy the search form on the default page to custom pages in your Windows SharePoint Services-based Web site, open the pages in FrontPage 2003 and do the following:

  1. In Design view switch to the default page and click on the magnifying glass icon to the left of the input text box in the upper right of the page.
  2. From the Table menu, click Select and then select Table. This step assures you copy the search form correctly.
  3. Press the keyboard combination Crtl-C to copy the search table and switch to the custom page you want to place it in.
  4. Paste the table into an empty table cell by clicking on the cell and then either selecting Paste from the Edit menu or pressing Crtl-V.
  5. Save the page.

More information
For more information about using Web part page templates, see Microsoft FrontPage 2003 Help.