Skip to main content

UploadMode Enum

Lists values that define how the Upload component uploads files to the server.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum UploadMode

Members

Name Description
Instant

Files are uploaded instantly when a user selects or drops them.

OnButtonClick

Files are uploaded after a user clicks the common upload button or individual buttons for each file.

Related API Members

The following properties accept/return UploadMode values:

Remarks

The following code snippet enables the UploadMode.OnButtonClick upload mode in the component.

<DxUpload Name="myFile" 
          UploadUrl="https://localhost:10000/api/Upload/Upload/"
          UploadMode="UploadMode.OnButtonClick">
</DxUpload>

Upload - Use Buttons upload mode

Run Demo: Upload - Upload Modes

See Also