CodeCharge Studio

AllowedMasks Run-Time Property (PHP)

Applies to

FileUpload Form

Type

string

Access

read/write

Syntax

object->AllowedMasks [= value]

Description

Specifies a list of file masks (separated with semicolon) that are allowed by the FileUpload component. If user specifies a file with a mask that matches one of the masks specified in this property, the file will be uploaded (unless the mask is also listed in the DisallowedMasks property). Otherwise, the upload will fail and an error message will be displayed. The AllowedMasks property corresponds to the "Allowed Masks" Design-Time property of the FileUpload component.

See also

DisallowedMasks Property


On-line, printable versions and updates