ASP.NET MVC - EJ2

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileManagerUploadSettings

    Show / Hide Table of Contents

    Class FileManagerUploadSettings

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    FileManagerUploadSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsCollection
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.FileManager
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class FileManagerUploadSettings : EJTagHelper

    Constructors

    FileManagerUploadSettings()

    Declaration
    public FileManagerUploadSettings()

    Properties

    AllowedExtensions

    Specifies the extensions of the file types allowed in the file manager component and pass the extensions with comma separators. For example, if you want to upload specific image files, pass allowedExtensions as ".jpg,.png".

    Declaration
    [HtmlAttributeName("allowedExtensions")]
    public string AllowedExtensions { get; set; }
    Property Value
    Type Description
    System.String

    AutoClose

    Defines whether to close the upload dialog after uploading all the files.

    Declaration
    [HtmlAttributeName("autoClose")]
    public bool AutoClose { get; set; }
    Property Value
    Type Description
    System.Boolean

    AutoUpload

    By default, the FileManager component initiates automatic upload when the files are added in upload queue. If you want to manipulate the files before uploading to server, disable the autoUpload property. The buttons "upload" and "clear" will be hided from file list when the autoUpload property is true.

    Declaration
    [HtmlAttributeName("autoUpload")]
    public bool AutoUpload { get; set; }
    Property Value
    Type Description
    System.Boolean

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type Description
    MvcTemplate<System.Object>

    DirectoryUpload

    Specifies a Boolean value that indicates whether the folder (directory) can be browsed and uploaded in the FileManager component. This property allows to select or drop to upload the folders (directories) instead of files. When folder upload is enabled, all the folder contents including hierarchy folders and files are considered to upload. Folder (directory) upload is supported for the following file system providers,

    • Physical provider
    • NodeJS provider
    • Azure provider
    • Amazon S3 provider
    Declaration
    [HtmlAttributeName("directoryUpload")]
    public bool DirectoryUpload { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsComplex

    Declaration
    protected override bool IsComplex { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsComplex

    MaxFileSize

    Specifies the maximum allowed file size to be uploaded in bytes. The property is used to make sure that you cannot upload too large files.

    Declaration
    [HtmlAttributeName("maxFileSize")]
    public double MaxFileSize { get; set; }
    Property Value
    Type Description
    System.Double

    MinFileSize

    Specifies the minimum file size to be uploaded in bytes. The property is used to make sure that you cannot upload empty files and small files.

    Declaration
    [HtmlAttributeName("minFileSize")]
    public double MinFileSize { get; set; }
    Property Value
    Type Description
    System.Double

    ParentPropertyName

    Declaration
    protected override string ParentPropertyName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ParentPropertyName
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved