Messages.FileNameNotAllowed Property ActiveX/Java Uploader ASP.NET

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a message which states that a user tries to select a file, the name of which is not allowed.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

C#
public string FileNameNotAllowed { get; set; }

Property Value

Type: System..String

The message which states that a user tries to select a file the name of which is not allowed (i.e. the file name does not match FileMask, or matches DeniedFileMask). It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be added.

Default value is "The file '[name]' cannot be selected. The website doesn't accept files of this type.".

Remarks

This property is necessary for localization of ActiveX/Java Uploader.

See Also

Reference