SearchBoxEx.CreateChildControls Method
Used to create the controls in the search box Web Part.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Protected Overrides Sub CreateChildControls
'Usage
Me.CreateChildControls()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
protected override void CreateChildControls()
Remarks
The CreateChildControls method is used to create the query text box, the scopes drop down, the advanced search link, the search button, and other controls in the search box Web Part.