Skip to main content
A newer version of this page is available. .
Tab

FileManagerSettingsDataSource.FileBinaryContentFieldName Property

Gets or sets the name of the data source field which provides file content.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string FileBinaryContentFieldName { get; set; }

Property Value

Type Default Description
String String.Empty

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

Property Paths

You can access this nested property as listed below:

Show 18 property paths
Library Object Type Path to FileBinaryContentFieldName
ASP.NET Controls and MVC Extensions ASPxFileManager
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorAudioSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorDocumentSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorFileManager
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorFileManagerSettingsBase
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorFlashSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorImageSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
HtmlEditorVideoSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
RichEditFileManager
.SettingsDataSource .FileBinaryContentFieldName
RichEditFolderManager
.SettingsDataSource .FileBinaryContentFieldName
ASP.NET Bootstrap Controls BootstrapFileManager
.SettingsDataSource .FileBinaryContentFieldName
ASP.NET MVC Extensions MVCxFileManager
.SettingsDataSource .FileBinaryContentFieldName
MVCxHtmlEditorAudioSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
MVCxHtmlEditorDocumentSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
MVCxHtmlEditorFlashSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
MVCxHtmlEditorImageSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName
MVCxHtmlEditorVideoSelectorSettings
.SettingsDataSource .FileBinaryContentFieldName

Remarks

This property is a wrapper of the DataSourceFileSystemProvider.FileBinaryContentFieldName property. Refer to its description for more information.

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

Example

<dx:ASPxFileManager ID="fileManager" runat="server" DataSourceID="XpoDataSource1">

     ...

     <SettingsDataSource 
          KeyFieldName="Id" 
          ParentKeyFieldName="Pid" 
          NameFieldName="Name" 
          IsFolderFieldName="IsFolder" 
          FileBinaryContentFieldName="Data" 
          LastWriteTimeFieldName="LastWriteTime" />
</dx:ASPxFileManager>
See Also