The DevExpress ASP.NET MVC File Manager allows you to build responsive page layouts. The control automatically resizes and rearranges its elements depending on the browser window size. The layout behavior can be customized using the SettingsAdaptivity.Enabled property.
In adaptive mode, the file manager elements are modified as follows:
- The detail view section columns are automatically hidden one by one starting at the right. The FileManagerDetailColumn.AdaptivePriority property defines the column hiding order. Set the FileManagerFileListDetailsViewAdaptivitySettings.Mode property to "Off" to disable adaptive mode for the detail view section.
- The toolbar items are moved the drop-down list that is invoked by clicking the ellipse button on the right. The FileManagerToolbarAdaptivitySettings.EnableAutoHideRootItems property specifies whether the toolbar is adaptive.
- The Folder container is hidden and can be shown by clicking the hamburger button in the left top corner. To disable adaptive mode for the folder container, use the FileManagerSettingsAdaptivity.EnableCollapseFolderContainer property.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxFileManagerAndUploadDemos