alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FileManagerAjaxSettings

    Defines the Ajaxsettings for the filemanager component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    FileManagerAjaxSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileManagerAjaxSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    FileManagerAjaxSettings()

    Declaration
    public FileManagerAjaxSettings()

    Properties

    DownloadUrl

    Specifies URL to download the files from server.

    Declaration
    [Parameter]
    public string DownloadUrl { get; set; }
    Property Value
    Type
    string

    GetImageUrl

    Specifies URL to get the images from server.

    Declaration
    [Parameter]
    public string GetImageUrl { get; set; }
    Property Value
    Type
    string

    HttpClientInstance

    Gets or sets HttpClient instance to be used by FileManager.

    Declaration
    [Parameter]
    public HttpClient HttpClientInstance { get; set; }
    Property Value
    Type Description
    HttpClient

    The HttpClient instance. The default instance has a timeout of 3 minutes.

    Remarks

    Use this property to bind the globally injected

    HttpClient
    instance from your application to the FileManager component. This approach ensures the use of a single HTTP client instance throughout your application.
    Examples
    @inject HttpClient httpClient;
    <SfFileManager TValue = "FileManagerDirectoryContent" >
        < FileManagerAjaxSettings HttpClientInstance="@httpClient" Url="/api/SampleData/FileOperations" DownloadUrl="/api/SampleData/Download" UploadUrl="/api/SampleData/Upload" GetImageUrl="/api/SampleData/GetImage" />
    </ SfFileManager >

    UploadUrl

    Specifies URL to upload the files to server.

    Declaration
    [Parameter]
    public string UploadUrl { get; set; }
    Property Value
    Type
    string

    Url

    Specifies URL to read the files from server.

    Declaration
    [Parameter]
    public string Url { get; set; }
    Property Value
    Type
    string

    Methods

    Dispose(bool)

    Dispose unmanaged resources in the component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    Task.

    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved