System.Web.UI.HtmlControls.HtmlSelect.OnPreRender Method

Raises the System.Web.UI.Control.PreRender event for the System.Web.UI.HtmlControls.HtmlSelect control.

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs that contains the event data.

Remarks

If the HtmlSelect.Size property is greater than 1, then the HtmlSelect.OnPreRender(EventArgs) method registers the System.Web.UI.HtmlControls.HtmlSelect control with the System.Web.UI.Page control as one that requires postback processing.

Requirements

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