[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Collapse]File Management
   [Expand]Product Information
   [Collapse]File Manager
     ASPxFileManager Overview
      View Modes
      Custom Columns
      Uploading Files
      File Download
      Context Menu
     [Expand]Access Control Overview
     [Collapse]File System Providers
       File System Providers Overview
       Physical File System Provider
       DataSource File System Provider
       Amazon File System Provider
       Azure File System Provider
       Dropbox File System Provider
       Google Drive File System Provider
       Google Drive Personal File System Provider
       OneDrive File System Provider
       OneDrive Personal File System Provider
       Custom File System Provider
      Security Considerations
    [Expand]Visual Elements
    [Expand]Member Tables
   [Expand]File Upload
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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)

DataSource File System Provider

ASPxFileManager uses the data source file system provider when the ASPxFileManager.ProviderType property is set to DataSource.

The data source file system provider is represented by the DataSourceFileSystemProvider class, which gives you a definition of methods for getting a file and folder hierarchy, and the methods for editing file manager items.

Expanded Provider Settings

To define a data source whose file system information should be obtained, use the ASPxFileManager.DataSource or ASPxFileManager.DataSourceID property.

ASPxFileManager exposes its specific data-related properties, allowing you to specify the data source fields from which information should be retrieved. The table below lists these properties.

Property Name Member Type Field Value Description
FileBinaryContentFieldName FileManagerSettingsDataSource.FileBinaryContentFieldName System.Byte[] An array of bytes that is the file content
IsFolderFieldName* FileManagerSettingsDataSource.IsFolderFieldName System.Boolean A value defines an item's type (folder or file).
KeyFieldName* FileManagerSettingsDataSource.KeyFieldName System.String Item's key value.
LastWriteTimeFieldName FileManagerSettingsDataSource.LastWriteTimeFieldName System.DateTime The date of the last file modification.
NameFieldName* FileManagerSettingsDataSource.NameFieldName System.String An item's name, which is displayed within a file manager.
ParentKeyFieldName* FileManagerSettingsDataSource.ParentKeyFieldName System.String A key value of the item's parent item.

Note, the properties marked with the (*) sign are required for ASPxFileManager to work properly. The others are optional.

Expanded Online Blogs

Expanded Online Demo

Expanded See Also

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