Skip to main content

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 an instance of the DataSourceFileSystemProvider class, which has methods to get the file and folder hierarchy, and methods to edit file manager items.

ASPxFileManager_DataSourceFileSystemProvider

Provider Settings

Use the ASPxFileManager.DataSource or ASPxFileManager.DataSourceID property to specify the data source.

ASPxFileManager has data-related properties that allow you to specify the data source fields from which information should be retrieved. The tables below list these properties.

Required Properties

Property Name Member Type Field Value Description
IsFolderFieldName FileManagerSettingsDataSource.IsFolderFieldName Boolean A value defines an item’s type (folder or file).
KeyFieldName FileManagerSettingsDataSource.KeyFieldName String An item’s key value.
NameFieldName FileManagerSettingsDataSource.NameFieldName String An item’s name, which is displayed within a file manager.
ParentKeyFieldName FileManagerSettingsDataSource.ParentKeyFieldName String A key value of the item’s parent item.

Optional Properties

Property Name Member Type Field Value Description
FileBinaryContentFieldName FileManagerSettingsDataSource.FileBinaryContentFieldName Byte[] An array of bytes that is the file content.
LastWriteTimeFieldName FileManagerSettingsDataSource.LastWriteTimeFieldName DateTime The date of the last file modification.

Online Blog

ASP.NET File Manager - Data Bind using Data Source

Online Demo

File Manager - Database Binding

See Also