Example of API in ASP.NET MVC File Manager Control
The File Manager component in the property pane displays its features in this sample. The visibility of the toolbar, file extensions, range selection, and image thumbnails can all 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
|
|
Show File Extension
|
|
Show Thumbnail
|
|
Disable Toolbar Item
|
|
Enable Toolbar Item
|
|
In this demo, the above mentioned requirements are achieved by using the following API properties and methods of the File Manager component.
ToolbarSettingsopens in a new tab defines the group of items in the toolbar that are aligned horizontally.
ShowFileExtensionopens in a new tab property shows or hides the file extension in the File Manager.
ShowThumbnailopens in a new tab 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 opens in a new tabon your machine and run the demo.