Export (0) Print
Expand All
Expand Minimize

WebPartManager.OnPreRender Method

Raises the PreRender event, which occurs just before a WebPartManager control is rendered on a Web page.

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 method, which raises the PreRender event for the control, and then registers several client scripts that are needed on pages that contain Web Parts controls.

.NET Framework

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