Skip to main content
Tab

FileManagerUploadAdvancedModeSettings.EnableMultiSelect Property

Gets or sets a value specifying whether multi-file selection is allowed within a ASPxFileManager’s upload panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

public override bool EnableMultiSelect { get; set; }

Property Value

Type Description
Boolean

true if multi-file selection is allowed; otherwise, false.

Property Paths

You can access this nested property as listed below:

Remarks

The Upload panel allows end-users to choose several files to upload within a single file open dialog.

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsUpload Enabled="true" UseAdvancedUploadMode="true" >
        <AdvancedModeSettings EnableMultiSelect="true" EnableClientAccessRuleValidation="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;
fm.SettingsUpload.AdvancedModeSettings.EnableClientAccessRuleValidation = true;

MVC:

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