OnPreRender(object, System.EventArgs) Method
The OnPreRender method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnPreRender method. This method raises the System.Web.UI.Control.PreRender event that occurs immediately before the Web Part is rendered to its containing Web Part Page.
Parameters
sender The sender of the event.
e A System.EventArgs object that contains the event data.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security