DxUpload.AllowPause Property
Specifies whether users can pause file upload in chunk upload mode.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public bool AllowPause { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
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.
To pause the file upload in code, use the following methods:
Users can then continue file upload.
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>
See Also