SearchResults.OnPreRender Method (Object, EventArgs)

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.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


Protected Overrides Sub OnPreRender ( _
    sender As Object, _
    e As EventArgs _
Dim sender As Object
Dim e As EventArgs

Me.OnPreRender(sender, e)
protected override void OnPreRender(
    Object sender,
    EventArgs e


  • e
    Type: System.EventArgs
    A System.EventArgs object that contains the event data.

See Also


SearchResults Class

SearchResults Members

OnPreRender Overload

Microsoft.SharePoint.Portal.WebControls Namespace