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
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Collapse]File Management
   [Expand]Product Information
   [Collapse]File Manager
     ASPxFileManager Overview
    [Collapse]Concepts
      Thumbnails
      View Modes
      Custom Columns
      Toolbar
      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
       Custom File System Provider
      Security Considerations
    [Expand]Visual Elements
    [Expand]Member Tables
    [Expand]Examples
   [Expand]File Upload
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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

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

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