Skip to main content
Tab

FileManagerSettingsUpload.UseAdvancedUploadMode Property

Gets or sets a value specifying whether the advanced upload mode is used in upload panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

[DefaultValue(true)]
public bool UseAdvancedUploadMode { get; set; }

Property Value

Type Default Description
Boolean

true

true if the advanced upload mode is used; false if the standard upload mode is used.

Property Paths

You can access this nested property as listed below:

Show 21 property paths
Library Object Type Path to UseAdvancedUploadMode
ASP.NET Bootstrap Controls BootstrapFileManager
.SettingsUpload.UseAdvancedUploadMode
ASP.NET Web Forms Controls ASPxFileManager
.SettingsUpload.UseAdvancedUploadMode
HtmlEditorAudioSelectorSettings
.UploadSettings.UseAdvancedUploadMode
HtmlEditorDocumentSelectorSettings
.UploadSettings.UseAdvancedUploadMode
HtmlEditorFileManager
.SettingsUpload.UseAdvancedUploadMode
HtmlEditorFileManagerSettingsBase
.UploadSettings.UseAdvancedUploadMode
HtmlEditorFlashSelectorSettings
.UploadSettings.UseAdvancedUploadMode
HtmlEditorImageSelectorSettings
.UploadSettings.UseAdvancedUploadMode
HtmlEditorSelectorSettings
.UploadSettings.UseAdvancedUploadMode
HtmlEditorVideoSelectorSettings
.UploadSettings.UseAdvancedUploadMode
RichEditDocumentSelectorSettings
.UploadSettings.UseAdvancedUploadMode
RichEditFileManager
.SettingsUpload.UseAdvancedUploadMode
RichEditFolderManager
.SettingsUpload.UseAdvancedUploadMode
SpreadsheetDocumentSelectorSettings
.UploadSettings.UseAdvancedUploadMode
ASP.NET MVC Extensions FileManagerSettings
.SettingsUpload.UseAdvancedUploadMode
MVCxFileManager
.SettingsUpload.UseAdvancedUploadMode
MVCxHtmlEditorAudioSelectorSettings
.UploadSettings.UseAdvancedUploadMode
MVCxHtmlEditorDocumentSelectorSettings
.UploadSettings.UseAdvancedUploadMode
MVCxHtmlEditorFlashSelectorSettings
.UploadSettings.UseAdvancedUploadMode
MVCxHtmlEditorImageSelectorSettings
.UploadSettings.UseAdvancedUploadMode
MVCxHtmlEditorVideoSelectorSettings
.UploadSettings.UseAdvancedUploadMode

Remarks

If the file upload is enabled (the FileManagerSettingsUpload.Enabled property is set to true), you can choose from two provided upload modes (Standard and Advanced) using the UseAdvancedUploadMode property.

  • In the Standard Mode, the uploaded file is sent to the server in one request and is cached in its entirety in server memory.
  • In the Advanced Mode, the uploaded file is sent to the server in small packets (one by one) and is saved into a temporary file within a specific server folder.

Concept

Upload Modes

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsUpload Enabled="true" UseAdvancedUploadMode="true" >
        <AdvancedModeSettings EnableMultiSelect="true" />
    </SettingsUpload>
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsUpload.Enabled = true;
fm.SettingsUpload.UseAdvancedUploadMode = true;
fm.SettingsUpload.AdvancedModeSettings.EnableMultiSelect = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsUpload.Enabled = true;
    settings.SettingsUpload.UseAdvancedUploadMode = true;
    settings.SettingsUpload.AdvancedModeSettings.EnableMultiSelect = true;
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also