[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Collapse]File Management
   [Collapse]File Manager
     Overview - FileManager
      View Modes
      Uploading Files
      File Download
     [Expand]Access Control Overview
     [Expand]Binding to Data
    [Expand]Visual Elements
   [Expand]File Upload
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Query Builder
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Uploading Files

The FileManager extension supports file upload using an upload panel. This ability is enabled by default.


To enable the file uploading functionality within your FileManager, the Partial View with FileManager must be wrapped with the HTML form.

The file extensions allowed for upload are specified by the FileManagerSettings.AllowedFileExtensions (via the FileManagerSettings.Settings) property. If the property value is empty, all file extensions are allowed.

You can use FileManager to access rules to define access permissions for folders and files. To mark the folders that are locked for upload, use the special folder icons, specified from the FileManagerImages.FolderLocked property. Note, that the FileManagerSettingsFolders.ShowLockedFolderIcons (via the FileManagerSettings.SettingsFolders.ShowLockedFolderIcons) property should be set to true.

To prohibit file uploading, set the FileManagerSettingsUpload.Enabled (via the FileManagerSettings.SettingsUpload.Enabled) property to false.

Expanded See Also

Is this topic helpful?​​​​​​​