Skip to main content
Tab

ASPxFileManager.SettingsDataSource Property

Provides access to a file manager’s field name settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public FileManagerSettingsDataSource SettingsDataSource { get; }

Property Value

Type Description
FileManagerSettingsDataSource

A FileManagerSettingsDataSource object that contains data source settings.

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 KeyFieldName and ParentKeyFieldName fields must be the same.

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" />
See Also