Mediachase FileUploader.NET 1.9 Framework Help

McHtmlInputFile.Accept Property

Gets or sets a comma-separated list of MIME encodings used to constrain the file types the user can select.

[Visual Basic]
Public Property Accept As String
[C#]
public string Accept {get; set;}

Property Value

The comma-separated list of MIME encodings.

Remarks

Use this property to specify the file type that can be uploaded to the server. For example, to restrict the selection to images, set this property to "image/*".

Note    Support for this property is browser dependent. Check with your browser to determine if it supports this property.

See Also

McHtmlInputFile Class | Mediachase.FileUploader.Web.UI Namespace