System.Web.UI.HtmlControls.HtmlInputCheckBox.OnPreRender Method

Raises the System.Web.UI.Control.OnPreRender(EventArgs) event and registers the control as one that requires postback handling.

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs that contains event data.

Remarks

The HtmlInputCheckBox.OnPreRender(EventArgs) method overrides the base System.Web.UI.Control.OnPreRender(EventArgs) method. HtmlInputCheckBox.OnPreRender(EventArgs) is used primarily by control developers.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0