Export (0) Print
Expand All

WebPartZoneBase.OnPreRender Method

Raises the PreRender event.

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

protected internal override void OnPreRender(
	EventArgs e
)

Parameters

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft