UploadMode Enum

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.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.

Remarks

Use the UploadMode enumeration values to set the UploadMode property.

The code below enables the UploadMode.OnButtonClick upload mode in the component.

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

NOTE

Online Demo: Upload - Upload Modes

See Also