SearchBox Members

Include Protected Members
Include Inherited Members

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Implements the search box Web Part on the Microsoft Office SharePoint Portal Server 2003 search page.

The SearchBox type exposes the following members.

Constructors

  Name Description
Public method SearchBox This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Initializes a new instance of the SearchBox class.

Top

Properties

  Name Description
Protected property CacheKey This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. (Overrides CacheableWebPartCacheKey().)
Public property CompactMode This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets a flag that determines the display mode for this Web Part.
Public property ContextSensitiveScopeType This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets additional restrictions on the scope for the query run by this Web Part.
Public property DefaultScopes Reserved for internal use only.
Public property EnableCache This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets a flag that indicates whether this Web Part is cached.
Public property PromptText This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the default text displayed in the search box.
Public property PromptTextLocId This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the unique identifier for the localized version of the prompt text.
Public property SearchBoxTableClass This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the background color for this Web Part.
Public property SearchResultPageURL This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the URL for the page where results are displayed.
Public property SearchScopes Reserved for internal use only.
Protected property SupportContextSensitiveScope This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets a flag that indicates whether context-sensitive scopes are enabled for this Web Part.
Public property SupportThemes This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead.

Top

Methods

  Name Description
Protected method CreateChildControls This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Creates child server controls that are rendered in this Web Part. (Overrides WebPartLocCreateChildControls().)
Protected method DetermineTemplateMode This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Determines whether this Web Part is invoked in context-sensitive mode.
Public method Dispose This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. (Overrides WebPart.Dispose().)
Protected method OnInit This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnInit method. The OnInit method raises the System.Web.UI.Control.Init event that occurs as this Web Part is instantiated. (Overrides WebPartLocOnInit(Object, EventArgs).)
Protected method OnLoad This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. (Overrides WebPartLocOnLoad(Object, EventArgs).)
Protected method OnPreRender This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. (Overrides WebPartLocOnPreRender(Object, EventArgs).)
Protected method RenderWebPart This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. (Overrides WebPartLocRenderWebPart(HtmlTextWriter).)

Top

See Also

Reference

SearchBox Class

Microsoft.SharePoint.Portal.WebControls Namespace