Skip to main content
Tab

FileManagerUploadAdvancedModeSettings Class

Contains settings that relate to the file upload functionality.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class FileManagerUploadAdvancedModeSettings :
    UploadAdvancedModeSettings

The following members return FileManagerUploadAdvancedModeSettings objects:

Remarks

Use the FileManagerSettingsUpload.AdvancedModeSettings property to access the FileManagerUploadAdvancedModeSettings object.

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()

Online Demo

See Also