WebPartZoneBase.OnPreRender Method (EventArgs)

 

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
Available since 2.0
Return to top
Show: