System.Web.UI.WebControls.FileUpload.OnPreRender Method

Raises the System.Web.UI.Control.PreRender event for the System.Web.UI.WebControls.FileUpload control.

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs object that contains the event data.

Remarks

The FileUpload.OnPreRender(EventArgs) method notifies the System.Web.UI.WebControls.FileUpload control to perform any necessary pre-rendering steps before saving view state and rendering content.

Requirements

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