Syncfusion.EJ2
Properties  Methods 


Uploader Class Members

The following tables list the members exposed by Uploader.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Properties
 NameDescription
Public Property Triggers after all the selected files has processed to upload successfully or failed to server.  
Public Property Specifies the extensions of the file types allowed in the uploader component and pass the extensions with comma separators. For example, if you want to upload specific image files, pass allowedExtensions as “.jpg,.png”.  
Public Property Configures the save and remove URL to perform the upload operations in the server asynchronously.  
Public Property By default, the uploader 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 autoUpload property is true.  
Public Property Triggers on remove the uploaded file. The event used to get confirm before remove the file from server.  
Public Property Triggers when the upload process before. This event is used to add additional parameter with upload request.  
Public Property You can customize the default text of “browse, clear, and upload” buttons with plain text or HTML elements. The buttons’ text can be customized from localization also. If you configured both locale and buttons property, the uploader component considers the buttons property value.  
Public Property Fires if cancel the chunk file uploading.  
Public Property Triggers when changes occur in uploaded file list by selecting or dropping files.  
Public Property Fires if the chunk file failed to upload.  
Public Property Fires when the chunk file uploaded successfully.  
Public Property Fires when every chunk upload process gets started. This event is used to add additional parameter with upload request.  
Public Property Triggers before clearing the items in file list when clicking “clear”.  
Public Property Triggers when the component is created.  
Public Property Specifies the CSS class name that can be appended with root element of the uploader. One or more custom CSS classes can be added to a uploader.  
Public Property Specifies a Boolean value that indicates whether the folder of files can be browsed in the uploader component.  
Public Property Specifies the drop target to handle the drag-and-drop upload. By default, the component creates wrapper around file input that will act as drop target.  
Public Property Specifies Boolean value that indicates whether the component is enabled or disabled. The uploader component does not allow to interact when this property is disabled.  
Public Property Enable or disable persisting component's state between page reloads.  
Public Property Enable or disable rendering component in right to left direction.  
Public Property Triggers when the AJAX request fails on uploading or removing files.  
Public Property Triggers before rendering each file item from the file list in a page. It helps to customize specific file item structure.  
Public Property Specifies the list of files that will be preloaded on rendering of uploader component. The property used to view and remove the uploaded files from server. By default, the files are configured with uploaded successfully state. The following properties are mandatory to configure the preload files: Name Size Type  
Public Property You can add the additional html attributes such as disabled, value etc., to the element. If you configured both property and equivalent html attribute then the component considers the property value.  
Public Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Public Property Overrides the global culture and localization value for this component. Default global culture is 'en-US'.  
Public Property Specifies the maximum allowed file size to be uploaded in bytes. The property used to make sure that you cannot upload too large files.  
Public Property Specifies the minimum file size to be uploaded in bytes. The property used to make sure that you cannot upload empty files and small files.  
Public Property Specifies a Boolean value that indicates whether the multiple files can be browsed or dropped simultaneously in the uploader component.  
Public Property Fires if pause the chunk file uploading.  
Public Property Triggers when uploading a file to the server using the AJAX request.  
Public Property Triggers on removing the uploaded file. The event used to get confirm before removing the file from server.  
Public Property DEPRECATED-Triggers before rendering each file item from the file list in a page. It helps to customize specific file item structure.  
Public Property Fires if resume the paused chunk file upload.  
Public Property Triggers after selecting or dropping the files by adding the files in upload queue.  
Public Property By default, the file uploader component is processing the multiple files simultaneously. If sequentialUpload property is enabled, the file upload component performs the upload one after the other.  
Public Property Specifies a Boolean value that indicates whether the default file list can be rendered. The property used to prevent default file list and design own template for file list.  
Public Property Triggers when the AJAX request gets success on uploading files or removing files.  
Public Property Specifies the HTML string that used to customize the content of each file in the list.  
Public Property Triggers when the upload process gets started. This event is used to add additional parameter with upload request.  
Top
Protected Properties
 NameDescription
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Top
Public Methods
Protected Methods
 NameDescription
Protected Method (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Method (Inherited from Syncfusion.EJ2.EJTagHelper)
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Top
See Also