Skip to main content

DxUpload.FileUploadProgressChanged Event

Fires when the upload progress changes.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public EventCallback<FileUploadEventArgs> FileUploadProgressChanged { get; set; }

Event Data

The FileUploadProgressChanged event's data class is FileUploadEventArgs. The following properties provide information specific to this event:

Property Description
FileInfo Returns information about a file.


<DxUpload Name="myFile" UploadUrl="https://localhost:10000/api/Upload/Upload/" 

@code {
    void OnUploadProgressChanged(FileUploadEventArgs e) {
        // Write your code here. For instance, show an upload progress.
        var progress = e.FileInfo.LoadedBytes / e.FileInfo.Size * 100;
        UpdateUploadProgress(e.FileInfo.Name, progress);
    // ...
See Also