DataSourceFileSystemProvider.KeyFieldName Property
Gets or sets the name of the data source key field.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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 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.