Skip to main content

UploadControlSettings.AdvancedModeSettings Property

Gets the Advanced Upload Mode settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public UploadAdvancedModeSettings AdvancedModeSettings { get; }

Property Value

Type Description
UploadAdvancedModeSettings

An UploadAdvancedModeSettings object that contains the Advanced Mode settings.

Remarks

UploadControl allows you to choose from two provided upload modes (Standard and Advanced) using the UploadControlSettings.UploadMode property. Use the AdvancedModeSettings property to access and customize the settings that relate to Advanced Upload Mode.

The example below demonstrates how to enable drag-and-drop support in the Upload Control extension and allow users to upload multiple files simultaneously:

@Html.DevExpress().UploadControl(settings => {
    settings.Name = "UploadControl";
    settings.ShowUploadButton = true;
    settings.ShowProgressPanel = true;
    settings.UploadMode = DevExpress.Web.UploadControlUploadMode.Advanced;
    settings.AdvancedModeSettings.EnableMultiSelect = true;
    settings.AdvancedModeSettings.EnableFileList = true;
    settings.AdvancedModeSettings.EnableDragAndDrop = true;
}).GetHtml()

View Example: Upload Control for ASP.NET MVC - How to upload multiple files simultaneously

See Also