Page.PreRenderComplete Event (System.Web.UI)

Switch View :
ScriptFree
.NET Framework Class Library
Page.PreRenderComplete Event

Occurs before the page content is rendered.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic
Public Event PreRenderComplete As EventHandler
C#
public event EventHandler PreRenderComplete
Visual C++
public:
 event EventHandler^ PreRenderComplete {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}
F#
member PreRenderComplete : IEvent<EventHandler,
    EventArgs>

ASP.NET
<asp:Page OnPreRenderComplete="EventHandler" />
Remarks

The PreRenderComplete event is raised when the pre-render stage of the page life cycle is complete. At this stage of the page life cycle, all controls are created, any pagination required is completed, and the page is ready to render to the output.

This is the last event raised before the page's view state is saved.

For more information about handling events, see Consuming Events.

Topic Location
How to: Save Values in View State Building ASP .NET Web Applications
How to: Read Values from View State Building ASP .NET Web Applications
How to: Save Values in View State Building ASP .NET Web Applications
How to: Read Values from View State Building ASP .NET Web Applications
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference

Other Resources