WebPartManager::OnPreRender Method (EventArgs^)

 

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)

public protected:
virtual void OnPreRender(
	EventArgs^ e
) override

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