Edit

Share via


WebPartManager.OnPreRender(EventArgs) Method

Definition

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

protected public:
 override void OnPreRender(EventArgs ^ e);
protected internal override void OnPreRender (EventArgs e);
override this.OnPreRender : EventArgs -> unit
Protected Friend Overrides Sub OnPreRender (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Remarks

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.

Applies to

See also