UploadMode Enum

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

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 code below enables the UploadMode.OnButtonClick upload mode in the component.

<DxUpload Name="file" 
          UploadUrl="@GetUploadUrl("api/Upload/UploadFile/")"
          UploadMode="UploadMode.OnButtonClick">
</DxUpload>

Run Demo: Upload - Upload Modes

See Also