Skip to main content

DataSourceFileSystemProvider.KeyFieldName Property

Gets or sets the name of the data source key field.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public string KeyFieldName { get; set; }

Property Value

Type Description

A String value that that specifies the name of the required data source field.


ASPxFileManager allows you to visualize file system data that is available in a database (for more information, see the Physical File System Provider topic). In this case, the KeyFieldName property is used to specify the name of the data source field that provides the key values for the file manager items.

The KeyFieldName property synchronizes its value with the file manager’s FileManagerSettingsDataSource.KeyFieldName property.

Note that specifying the following fieldname properties is essential: FileManagerSettingsDataSource.KeyFieldName, FileManagerSettingsDataSource.ParentKeyFieldName, FileManagerSettingsDataSource.NameFieldName, and FileManagerSettingsDataSource.IsFolderFieldName. The FileManagerSettingsDataSource.FileBinaryContentFieldName and FileManagerSettingsDataSource.LastWriteTimeFieldName property can be specified optionally.

See Also