System.Web.UI.WebControls.WebParts.EditorPart.OnPreRender Method

Raises the System.Web.UI.Control.PreRender event.

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs that contains the event data.

Remarks

In addition to calling the base System.Web.UI.Control.OnPreRender(EventArgs) method, the EditorPart.OnPreRender(EventArgs) method also checks the EditorPart.Display property. If the value is false, meaning that the control should not be displayed, then the System.Web.UI.Control.Visible property is also set to false.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0