UploadHelper Class |
Namespace: CMS.ExtendedControls
public static class UploadHelper
The UploadHelper type exposes the following members.
Name | Description | |
---|---|---|
IsExtensionAllowed |
Checks if specified file extension is allowed to be uploaded.
| |
RestrictExtensions |
Restricts allowed file extensions by file extensions defined by the CMSUploadExtensions setting (extensions not defined by this setting cannot be uploaded).
Extensions are without dots and separated by semicolon (e.g. jpg;png;gif).
If no file extension is allowed then "NO_ALLOWED_EXTENSION" is returned.
|
Name | Description | |
---|---|---|
NO_ALLOWED_EXTENSION |
Constant represents that no file extension is allowed to be uploaded.
|