Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class UploaderEvents

    Show / Hide Table of Contents

    Class UploaderEvents

    Specifies the Uploader Events of the component.

    Inheritance
    System.Object
    UploaderEvents
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class UploaderEvents : OwningComponentBase

    Constructors

    UploaderEvents()

    Declaration
    public UploaderEvents()

    Properties

    BeforeRemove

    Triggers on remove the uploaded file. The event used to get confirm before remove the file from server.

    Declaration
    public EventCallback<BeforeRemoveEventArgs> BeforeRemove { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<BeforeRemoveEventArgs>

    BeforeUpload

    Triggers when the upload process before. This event is used to add additional parameter with upload request.

    Declaration
    public EventCallback<BeforeUploadEventArgs> BeforeUpload { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<BeforeUploadEventArgs>

    Created

    Triggers when the component is created.

    Declaration
    public EventCallback<object> Created { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    FileSelected

    Triggers after selecting or dropping the files by adding the files in upload queue.

    Declaration
    public EventCallback<SelectedEventArgs> FileSelected { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SelectedEventArgs>

    OnActionComplete

    Triggers after all the selected files has processed to upload successfully or failed to server.

    Declaration
    public EventCallback<ActionCompleteEventArgs> OnActionComplete { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ActionCompleteEventArgs>

    OnCancel

    Fires if cancel the chunk file uploading.

    Declaration
    public EventCallback<CancelEventArgs> OnCancel { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<CancelEventArgs>

    OnChunkFailure

    Fires if the chunk file failed to upload.

    Declaration
    public EventCallback<FailureEventArgs> OnChunkFailure { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<FailureEventArgs>

    OnChunkSuccess

    Fires when the chunk file uploaded successfully.

    Declaration
    public EventCallback<SuccessEventArgs> OnChunkSuccess { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SuccessEventArgs>

    OnChunkUploadStart

    Fires when every chunk upload process gets started. This event is used to add additional parameter with upload request.

    Declaration
    public EventCallback<UploadingEventArgs> OnChunkUploadStart { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<UploadingEventArgs>

    OnClear

    Triggers before clearing the items in file list when clicking "clear".

    Declaration
    public EventCallback<ClearingEventArgs> OnClear { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ClearingEventArgs>

    OnFailure

    Triggers when the AJAX request fails on uploading or removing files.

    Declaration
    public EventCallback<FailureEventArgs> OnFailure { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<FailureEventArgs>

    OnFileListRender

    Triggers before rendering each file item from the file list in a page. It helps to customize specific file item structure.

    Declaration
    public EventCallback<FileListRenderingEventArgs> OnFileListRender { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<FileListRenderingEventArgs>

    OnRemove

    Triggers on removing the uploaded file. The event used to get confirm before removing the file from server.

    Declaration
    public EventCallback<RemovingEventArgs> OnRemove { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<RemovingEventArgs>

    OnResume

    Fires if resume the paused chunk file upload.

    Declaration
    public EventCallback<PauseResumeEventArgs> OnResume { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PauseResumeEventArgs>

    OnUploadStart

    Triggers when the upload process gets started. This event is used to add additional parameter with upload request.

    Declaration
    public EventCallback<UploadingEventArgs> OnUploadStart { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<UploadingEventArgs>

    Paused

    Fires if pause the chunk file uploading.

    Declaration
    public EventCallback<PauseResumeEventArgs> Paused { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PauseResumeEventArgs>

    Progressing

    Triggers when uploading a file to the server using the AJAX request.

    Declaration
    public EventCallback<ProgressEventArgs> Progressing { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ProgressEventArgs>

    Success

    Triggers when the AJAX request gets success on uploading files or removing files.

    Declaration
    public EventCallback<SuccessEventArgs> Success { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SuccessEventArgs>

    ValueChange

    Triggers when changes occur in uploaded file list by selecting or dropping files.

    Declaration
    public EventCallback<UploadChangeEventArgs> ValueChange { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<UploadChangeEventArgs>

    Methods

    ComponentDispose(Boolean)

    Declaration
    protected void ComponentDispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved