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.v24.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:

Object Type Path to UseAdvancedUploadMode
ASPxFileManager
.SettingsUpload .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 (in markup):

<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