System.Web.UI.HtmlControls.HtmlInputFile.Value Property

Gets the full path of the file on the client's computer.

Syntax

[System.ComponentModel.Browsable(false)]
public override string Value { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The HtmlInputFile.Value property retrieves the full path of the file on the client's computer (for example "C:\MyFiles\Test.txt"). This is useful when you need to know where the file is stored on the computer submitting the file. This property is also commonly used to determine the original file name. To get the original file name, parse the value of this property.

Note:

The HtmlInputFile.Value property is read-only. If you attempt to assign a value to this property, a NotSupportedException is thrown.

Requirements

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