menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class UploaderAsyncSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class UploaderAsyncSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    UploaderAsyncSettingsBuilder
    Namespace: Syncfusion.EJ2.Inputs
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class UploaderAsyncSettingsBuilder : ControlBuilder

    Constructors

    UploaderAsyncSettingsBuilder()

    Declaration
    public UploaderAsyncSettingsBuilder()

    UploaderAsyncSettingsBuilder(UploaderAsyncSettings)

    Declaration
    public UploaderAsyncSettingsBuilder(UploaderAsyncSettings model)
    Parameters
    Type Name Description
    UploaderAsyncSettings model

    Methods

    ChunkSize(Double)

    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 UploaderAsyncSettingsBuilder ChunkSize(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    UploaderAsyncSettingsBuilder

    RemoveUrl(String)

    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 UploaderAsyncSettingsBuilder RemoveUrl(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    UploaderAsyncSettingsBuilder

    RetryAfterDelay(Double)

    Specifies the delay time in milliseconds that the automatic retry happens after the delay.

    Declaration
    public UploaderAsyncSettingsBuilder RetryAfterDelay(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    UploaderAsyncSettingsBuilder

    RetryCount(Double)

    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 UploaderAsyncSettingsBuilder RetryCount(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    UploaderAsyncSettingsBuilder

    SaveUrl(String)

    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 UploaderAsyncSettingsBuilder SaveUrl(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    UploaderAsyncSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved