New to Telerik UI for BlazorStart a free 30-day trial

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:

C#
public enum UploadFileStatus

Fields

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

C#
Blank = 4

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

C#
Failed = 3

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

C#
Paused = 5

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.

C#
Selected = 0

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

C#
Uploaded = 1

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

C#
Uploading = 2