Share via


SearchBox.CreateChildControls Method

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.

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 renders child controls and client-side Microsoft JScript code for this Web Part. This method calls the OnPreRender method.

See Also

Reference

SearchBox Class

SearchBox Members

Microsoft.SharePoint.Portal.WebControls Namespace