Skip to main content
Tab

DataSourceFileSystemProvider.ParentKeyFieldName Property

Gets or sets the name of the data source field which provides the item parent key values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public string ParentKeyFieldName { get; set; }

Property Value

Type Description
String

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

Remarks

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 ParentKeyFieldName property is used to specify the name of the data source field that provides the item parent key values.

The ParentKeyFieldName property synchronizes its value with the file manager’s FileManagerSettingsDataSource.ParentKeyFieldName 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.

Note

The data types of the KeyFieldName and ParentKeyFieldName fields must be the same.

See Also