Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [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]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Collapse]File Management
   [Collapse]File Manager
     Overview - FileManager
    [Collapse]Concepts
      Thumbnails
      View Modes
      Uploading Files
      File Download
      Access Control
     [Expand]Binding to Data
    [Expand]Visual Elements
   [Expand]File Upload
  [Expand]Multi-Use Site Extensions
  [Expand]Charts
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
  [Expand]SpellChecker
 [Expand]Localization
 [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Uploading Files

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

Note

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

How would you rate this topic?​​​​​​​