ASPxFileManager.SettingsDataSource Property
Provides access to a file manager’s field name settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public FileManagerSettingsDataSource SettingsDataSource { get; }
#Property Value
Type | Description |
---|---|
File |
A File |
#Remarks
Use the SettingsDataSource property to specify the names of the data source fields that provide item basic information.
Note
The data types of the Key
#Example
Note
For a full example, see File Manager - Database Binding or File Manager - Details View demo.
<dx:ASPxFileManager ID="fileManager" runat="server" DataSourceID="ArtsDataSource">
<SettingsDataSource KeyFieldName="Id" ParentKeyFieldName="ParentID" NameFieldName="Name" IsFolderFieldName="IsFolder" FileBinaryContentFieldName="Data" LastWriteTimeFieldName="LastWriteTime" />
...
</dx:ASPxFileManager>
<ef:EntityDataSource ID="ArtsDataSource" runat="server" ContextTypeName="DevExpress.Web.Demos.DataContext" EntitySetName="Arts" StoreOriginalValuesInViewState="false" />