Blazor File Manager Example - Flat Data Binding
The Blazor File Manager has been enhanced to support rendering the component based on a flat data object, eliminating the need for HTTP client requests and backend URL configuration. This streamlined file and folder management tool provides an extensive array of features, including a toolbar
, navigation pane
, and details view
, facilitating seamless access, editing, and sorting of files using flat data objects. Users can continue to benefit from the user-friendly interface, effortlessly navigating through folders and selecting their desired files or folders.
The Blazor File Manager component is a great tool for navigating a file system within a web application, offering functionality similar to Windows Explorer. It supports essential file operations, including creating
, renaming
, deleting
, refreshing
, and more.
With the latest enhancement, the File Manager component now employs a flat data object for rendering, eliminating the need to define FileManagerAjaxSettings
. Instead, in the demo sample, a FileManagerService is injected, providing comprehensive folder data as a list of objects during the initial render.
File operations such as read, delete, and folder creation are seamlessly executed in the injected FileManagerService, showcasing the component's versatility. The context menu can be customized using the ContextMenuSettings API
, allowing for the addition of new menu items.
Furthermore, integrating and customizing custom toolbar items is effortless using the FileManagerToolbarSettings API
. If a new toolbar item is needed, it can be seamlessly added using the ToolbarSettings
.