WebPartZoneBase.OnPreRender Method (EventArgs)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the PreRender event.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

protected internal override void OnPreRender(
	EventArgs e


Type: System.EventArgs

An EventArgs that contains the event data.

The OnPreRender method calls the base OnPreRender method in the WebZone class, and then creates all the verbs in the zone. This allows page developers to make programmatic changes to the verbs in a zone before the view state is saved and the page is rendered.

.NET Framework
Available since 2.0
Return to top