OnPreRender Method
The OnPreRender method of the WebPartPageContents class raises an event when the server control is about to be rendered on its containing page.
Parameters
e A System.EventArgs object that contains the event data.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security