ClassFileManagerUploadSettings
The component that configures the upload settings.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class FileManagerUploadSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseFileManagerUploadSettings
Implements:
Inherited Members
Constructors
FileManagerUploadSettings()
Declaration
public FileManagerUploadSettings()
Properties
AllowedExtensions
The list of the allowed file extensions.
MaxFileSize
Defines the maximum file size in bytes.
Declaration
[Parameter]
public long? MaxFileSize { get; set; }
Property Value
long?
MinFileSize
Defines the minimum file size in bytes.
Declaration
[Parameter]
public long? MinFileSize { get; set; }
Property Value
long?
OnCancel
Triggered when a file upload is canceled.
Declaration
[Parameter]
public EventCallback<UploadCancelEventArgs> OnCancel { get; set; }
Property Value
OnError
Triggered when a file upload has failed.
Declaration
[Parameter]
public EventCallback<UploadErrorEventArgs> OnError { get; set; }
Property Value
OnProgress
Triggered when the progress of the file upload is changed.
Declaration
[Parameter]
public EventCallback<UploadProgressEventArgs> OnProgress { get; set; }
Property Value
OnRemove
Triggered before a file is removed.
Declaration
[Parameter]
public EventCallback<UploadEventArgs> OnRemove { get; set; }
Property Value
OnSelect
Triggered when a file is selected for upload.
Declaration
[Parameter]
public EventCallback<UploadSelectEventArgs> OnSelect { get; set; }
Property Value
OnSuccess
Triggered when a file has been uploaded.
Declaration
[Parameter]
public EventCallback<UploadSuccessEventArgs> OnSuccess { get; set; }
Property Value
OnUpload
Triggered before a file is uploaded.
Declaration
[Parameter]
public EventCallback<UploadEventArgs> OnUpload { get; set; }
Property Value
RemoveField
Sets the FormData key which contains the list of file names that are submitted to removeUrl.
Declaration
[Parameter]
public string RemoveField { get; set; }
Property Value
RemoveUrl
The URL of the handler which is responsible for the removal of the uploaded files (if any).
Declaration
[Parameter]
public string RemoveUrl { get; set; }
Property Value
SaveField
Sets the FormData key which contains the files submitted to saveUrl.
Declaration
[Parameter]
public string SaveField { get; set; }
Property Value
SaveUrl
The URL of the handler that will receive the submitted file(s).
WithCredentials
Configures whether credentials (cookies, headers) will be sent for cross-site requests.
Declaration
[Parameter]
public bool WithCredentials { get; set; }
Property Value
Methods
Dispose()
Declaration
public void Dispose()
Implements
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides