aspnet-devexpress-dot-web-dot-aspxfilemanager-16c0b484.md
Gets or sets the ID of the control from which the ASPxFileManager control retrieves its list of data items.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public override string DataSourceID { get; set; }
Public Overrides Property DataSourceID As String
| Type | Description |
|---|---|
| String |
The ID of a control that is the data source from which ASPxFileManager retrieves its data.
|
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" />
<dx:ASPxFileManager ID="fileManager" runat="server" DataSourceID="MyXpoDataSource">
...
</dx:ASPxFileManager>
<dx:XpoDataSource ID="MyXpoDataSource" runat="server" TypeName="PersistentObjects.ArtsEntity">
</dx:XpoDataSource>
See Also