Enum
UploadFileStatus

Describes the current status of a file in the Upload component. Use to determine file state for UI, logic, and error handling.

Definition

Namespace:Telerik.Blazor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public enum UploadFileStatus

Fields

Blank

The file is preloaded or in a blank state. Used for initializing file lists. Example: pre-populated file from server.

Declaration

cs-api-definition
Blank = 4

Field Value

UploadFileStatus

Failed

The file upload failed. Use to show error messages or retry options. Example: "MyFile.pdf" failed due to network error.

Declaration

cs-api-definition
Failed = 3

Field Value

UploadFileStatus

Paused

The file upload is paused (chunk upload only). Use to show resume options. Example: "MyFile.pdf" paused at 60%. See Paused and Resumable.

Declaration

cs-api-definition
Paused = 5

Field Value

UploadFileStatus

Selected

The file is selected by the user but not yet uploaded. Use to show pending uploads or enable upload actions. Example: "MyFile.pdf" is selected but not uploaded.

Declaration

cs-api-definition
Selected = 0

Field Value

UploadFileStatus

Uploaded

The file has been uploaded successfully. Use to show success messages or allow removal. Example: "MyFile.pdf" upload completed.

Declaration

cs-api-definition
Uploaded = 1

Field Value

UploadFileStatus

Uploading

The file is currently uploading. Use to display progress bars or cancel options. Example: "MyFile.pdf" is 50% uploaded.

Declaration

cs-api-definition
Uploading = 2

Field Value

UploadFileStatus