System.Web.UI.HtmlControls.HtmlInputFile.OnPreRender Method

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

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs that contains event data.

Remarks

If no encoding is specified for the Web page's System.Web.UI.HtmlControls.HtmlForm control, the HtmlForm.Enctype property is set to "multipart/form-data".

Requirements

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