SearchBox.OnPreRender 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.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreRender ( _
sender As Object, _
e As EventArgs _
)
'Usage
Dim sender As Object
Dim e As EventArgs
Me.OnPreRender(sender, e)
protected override void OnPreRender(
Object sender,
EventArgs e
)
Parameters
sender
Type: System.ObjectThe sender of the event.
e
Type: System.EventArgsA System.EventArgs object that contains the event data.
Remarks
Overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnPreRender method. The OnPreRender method raises the System.Web.UI.Control.PreRender event that occurs immediately before the Web Part is rendered to its containing Web Part Page.