Class UploaderAsyncSettings
Inheritance
Namespace: Syncfusion.EJ2.Inputs
Assembly: Syncfusion.EJ2.dll
Syntax
public class UploaderAsyncSettings : EJTagHelper
Constructors
UploaderAsyncSettings()
Declaration
public UploaderAsyncSettings()
Properties
ChunkSize
Specifies the chunk size to split the large file into chunks, and upload it to the server in a sequential order. If the chunk size property has value, the uploader enables the chunk upload by default. It must be specified in bytes value.
Declaration
public double ChunkSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
RemoveUrl
Specifies the URL of remove action that receives the file information and handle the remove operation in server. The remove action type must be POST request and define “removeFileNames” attribute to get file information that will be removed. This property is optional.
Declaration
public string RemoveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
RetryAfterDelay
Specifies the delay time in milliseconds that the automatic retry happens after the delay.
Declaration
public double RetryAfterDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 500 |
RetryCount
Specifies the number of retries that the uploader can perform on the file failed to upload. By default, the uploader set 3 as maximum retries. This property must be specified to prevent infinity looping.
Declaration
public double RetryCount { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 3 |
SaveUrl
Specifies the URL of save action that will receive the upload files and save in the server. The save action type must be POST request and define the argument as same input name used to render the component. The upload operations could not perform without this property.
Declaration
public string SaveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |