Example of API in ASP.NET Core File Manager Control
The property pane in this sample displays the features available in the File Manager component. The visibility of the toolbar, multi-selection, file extensions, range selection, and image thumbnails can be easily controlled by checking or unchecking the respective checkboxes. Additionally, specific toolbar items can be enabled or disabled by selecting values in the Dropdown List.
Enable Range Selection
|
|
Toolbar
|
|
showFileExtension
|
|
showThumbnail
|
|
Disable Toolbar Item
|
|
Enable Toolbar Item
|
|
In this demo, the above mentioned requirements are achieved by using the following API properties and method of the File Manager component.
toolbarSettings defines the group of items in the toolbar that are aligned horizontally.
showFileExtension property shows or hides the file extension in the File Manager.
showThumbnail property shows or hides thumbnail images in the large icons view. .
enableRangeSelection property allows multiple items selection with mouse dragging.
enableToolbarItems
specifies which items should be enabled in the toolbar.
disableToolbarItems
specifies which items should be disabled in the toolbar.
Note: File Manager's upload functionality is restricted in the online demos for security reasons. If you need to test upload functionality, please install Syncfusion Essential Studio on your machine and run the demo.