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.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableMultiSelect |
---|---|
FileManagerSettingsUpload |
|
Remarks
The Upload panel allows end-users to choose several files to upload within a single file open dialog.
Example
Web Forms (in markup):
<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