ClassUploadChunkSettings
The component that configures the excel export.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class UploadChunkSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseUploadChunkSettings
Implements:
Inherited Members
Constructors
UploadChunkSettings()
Declaration
public UploadChunkSettings()
Properties
AutoRetryAfter
Sets the delay in milliseconds before retrying a failed chunk upload. Example: 500 for half a second. Used with MaxAutoRetries.
Declaration
[Parameter]
public double AutoRetryAfter { get; set; }
Property Value
Enabled
Enables chunked upload mode. Set to true
to split large files into smaller chunks for upload. Example: true. Required for large file uploads and pause/resume support. See Resumable.
MaxAutoRetries
Sets the maximum number of retry attempts for a failed chunk. Example: 3. Increase for unreliable networks. See AutoRetryAfter for retry delay.
Declaration
[Parameter]
public int MaxAutoRetries { get; set; }
Property Value
MetadataField
Sets the name of the metadata field sent with each chunk. Example: "chunkMetadata". Change if your server expects a different key.
Declaration
[Parameter]
public string MetadataField { get; set; }
Property Value
Resumable
Enables pausing and resuming chunked uploads. Set to true
to allow users to pause and resume uploads. Example: true. Requires Enabled to be true.
Size
Sets the chunk size in bytes. Example: 1048576 for 1MB chunks. Adjust for network reliability and server limits. See MaxAutoRetries for retry behavior.
Methods
Dispose()
Declaration
public void Dispose()
Implements
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides