New to Telerik UI for ASP.NET CoreStart a free 30-day trial

ASP.NET Core FileManager Overview

The Telerik UI for ASP.NET Core FileManager is an Explorer-like component that enables you to manage files and folders and provides you with a rich API for customization.

The component allows you to show additional information about the selected file in a Preview Pane that you can customize through templates and that you can show or hide through a switch button. The component is built entirely with Kendo UI for jQuery components: Grid, ListView, TreeView, Toolbar, and Breadcrumb.

The Telerik UI FileManager TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers for the Kendo UI FileManager widget. To add the component to your ASP.NET Core app, you can use either.

Initializing the FileManager

The following example demonstrates the initialization of the FileManager with remote binding. The file structure is served as JSON through the FileManager DataSource object.

As of the 2022 R3 release, the Selectable mechanism has a new behavior. The Change event fires only when performing selection or deselection.

Razor
   @(Html.Kendo().FileManager()
    .Name("filemanager")
    .DataSource(ds =>
        {
            ds.Read(operation => operation
            .Type(HttpVerbs.Post)
            .Action("Read", "FileManagerData")
        );
        ds.Destroy(operation => operation
            .Type(HttpVerbs.Post)
            .Action("Destroy", "FileManagerData")
        );
        ds.Create(operation => operation
            .Type(HttpVerbs.Post)
            .Action("Create", "FileManagerData")
        );
        ds.Update(operation => operation
            .Type(HttpVerbs.Post)
            .Action("Update", "FileManagerData")
        );
    })
    .UploadUrl("Upload", "FileManagerData")   
)

Functionality and Features

FeatureDescription
Data bindingYou can bind the FileManager to remote data.
ContextMenuThe FileManager enables you to easily execute FileManager commands on the selected file or folder.
Drag and DropThe FileManager allows you to drag and drop files from the different FileManager views (GridView, ListView).
ViewsThe FileManager provides the Grid and List built-in views for content visualization.
NavigationThe FileManager exposes the ability to drill down to the specific file you need to manipulate.
PreviewPaneThe Preview Pane in the FileManager enables you to show additional information about the selected files or folders in the view.
SearchThe FileManager comes with a search panel out-of-the-box and allows you to quickly find the needed files.
SortFileManager provides a built-in sort functionality, which allows you to sort the files and folders.
Toolbar CommandsYou can incorporate a ToolBar component that contains a variety of built-in commands.
AccessibilityThe FileManager is accessible for screen readers, supports WAI-ARIA attributes, and delivers keyboard shortcuts for faster navigation.
GlobalizationThe FileManager supports globalization by combining the translation of component messages (localization) and their adaptation to specific cultures.

Next Steps

See Also