| UploadHelper Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Base.Web.UI
 Syntax
Syntaxpublic static class UploadHelper
The UploadHelper type exposes the following members.
 Fields
Fields| Name | Description | |
|---|---|---|
|   | NO_ALLOWED_EXTENSION | 
            Constant represents that no file extension is allowed to be uploaded.
             | 
 Methods
Methods| 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.
             | 
 See Also
See Also