Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxUpload.AllowPause Property

Specifies whether users can pause file upload in chunk upload mode.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public bool AllowPause { get; set; }

#Property Value

Type Description
Boolean

true to allow users to pause file upload; otherwise, false.

#Remarks

If chunk upload is enabled, users can click the pause button to pause file upload. Handle the FileUploadPaused event to respond to this action.

Upload Pause Button

To pause the file upload in code, use the following methods:

Users can then continue file upload.

Upload Continue Button

Set the AllowPause property to false to hide the pause button during the upload process.

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

Upload Hidden Pause Button

See Also