System.Web.UI.HtmlControls.HtmlInputFile.MaxLength Property

Gets or sets the maximum length of the file path for the file to upload from the client computer.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
public int MaxLength { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to specify a limit for the number of characters that can be entered for the path to the file to upload.

Note:

Support for this property is browser-dependent. Check your browser to determine whether it supports this property.

Requirements

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