SearchBoxEx Members
Implements the search box Web Part on the Microsoft Office SharePoint Server 2007 search page.
The SearchBoxEx type exposes the following members.
| Name | Description | |
|---|---|---|
|
AdvancedSearchPageURL | Gets or sets the URL for the Advanced Search page. |
|
AppendToQuery | Gets or sets a Boolean value indicating whether additional query terms are appended to the search query entered by the user into the search box Web Part. |
|
AppQueryTerms | Gets or sets the additional query terms appended to the search query entered by the user into the search box Web Part. |
|
AppQueryTermsLabel | Gets or sets text describing query terms appended to the user's search query. |
|
DefaultResultsPage | |
|
DisplaySubmittedSearch | Gets or sets a Boolean value indicating whether the search terms are displayed in the search box Web Part. |
|
DropDownMode | Gets or sets the display mode for the search box Web Part's scopes dropdown. |
|
DropDownModeEx | Gets or sets the display mode for the search box Web Part's scopes dropdown in the search box Web Part. |
|
DropDownWidth | Gets or sets the fixed width for the scopes dropdown in the search box Web Part. |
|
GoImageActiveUrl | Gets or sets the link for the active search buttonimage. |
|
GoImageActiveUrlRTL | Gets or sets the link for the active search button right-to-left image. |
|
GoImageUrl | Gets or sets the link for the search button image. |
|
GoImageUrlRTL | Gets or sets the link for the search button right-to-left image. |
|
IsMysiteSearchBox | |
|
NothingShouldBeRendered | |
|
QueryPromptString | Gets or sets the search box Web Part's query prompt text. |
|
QuerySuggestionsCompletionInterval | |
|
QuerySuggestionsCompletionSetCount | |
|
QuerySuggestionsMinimumPrefixLength | |
|
RegisterStyles | |
|
ScopeDisplayGroupName | Gets or sets the scope display group name for the search box Web Part. |
|
SearchBoxTableClass | |
|
SearchBoxVisual | |
|
SearchResultPageURL | Gets or sets the URL for the page where SharePoint Enterprise Search results are displayed. |
|
ShouldTakeFocusIfEmpty | Gets or sets a Boolean value indicating whether the search box Web Part receives focus if it is empty. |
|
ShowAdvancedSearch | Gets or sets a Boolean value indicating whether a link to the Advanced Search page is displayed. |
|
ShowPerferenceLink | |
|
ShowQuerySuggestions | |
|
TextBeforeDropDown | Gets or sets the text displayed in front of the search box Web Part's scopes dropdown. |
|
TextBeforeTextBox | Gets or sets the text displayed in front of the search box Web Part's query text box. |
|
TextBoxWidth | Gets or sets the fixed width for the query text box in the search box Web Part. |
|
UseSiteDefaults | |
|
UseSiteDropDownMode |
| Name | Description | |
|---|---|---|
|
AfterDeserialize | (Overrides WebPart.AfterDeserialize().) |
|
CreateChildControls | Used to create the controls in the search box Web Part. (Overrides WebPartLocCreateChildControls().) |
|
GetToolParts | Overrides the GetToolParts method of the WebPart base class. (Overrides WebPart.GetToolParts().) |
|
LoadResource | Returns a string that describes the localized Name, Category, and Description property values of the specified resource. (Overrides WebPartLocLoadResource(String).) |
|
OnInit | (Overrides WebPartLocOnInit(Object, EventArgs).) |
|
OnLoad | (Overrides WebPartLocOnLoad(Object, EventArgs).) |
|
OnPreRender | (Overrides WebPartLocOnPreRender(Object, EventArgs).) |
|
PrefixPartSpecificID | This member is reserved for internal use and is not intended to be used directly from your code. |
|
RenderWebPart | (Overrides WebPartLocRenderWebPart(HtmlTextWriter).) |
|
RequiresWebPartClientScript | (Overrides WebPart.RequiresWebPartClientScript().) |
| Name | Description | |
|---|---|---|
|
m_ddlScopes | |
|
m_hlink | |
|
m_searchKeyWordTextBox | |
|
m_strKSFromPostOrGetOverride | |
|
PreferencesLink |
It also works o SharePoint 2010
Stated above is that this control works in SharePoint 2007, just verified it works the same way in SharePoint 2010!
- 8/31/2010
- Rolf Eleveld 2