aspnet-devexpress-dot-web-dot-uploadadvancedmodesettings-ae857be0.md
Specifies whether end-users can add files to the control file list by dragging them to the upload control.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(false)]
public virtual bool EnableDragAndDrop { get; set; }
<DefaultValue(False)>
Public Overridable Property EnableDragAndDrop As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true, to enable drag and drop support; otherwise, false.
|
You can access this nested property as listed below:
| Library | Object Type | Path to EnableDragAndDrop |
|---|---|---|
| ASP.NET MVC Extensions | UploadControlSettings |
.AdvancedModeSettings .EnableDragAndDrop
| | ASP.NET Web Forms Controls | ASPxUploadControl |
.AdvancedModeSettings .EnableDragAndDrop
|
The ASPxUploadControl allows end-users to add files to upload lists by dragging them to a control. By default, the drag and drop functionality is disabled. To enable it, set the ASPxUploadControl.UploadMode property to Advance and switch the EnableDragAndDrop property to true.
Note
The drag and drop functionality requires the end-user’s browser to support HTML5 technology and the draggable attribute, which is supported by the following browsers: IE10+, Safari 6+, Firefox 4+, Google Chrome, and Opera 12+.
To learn more, see the Drag and Drop topic.
See Also
Online Demo: Upload Control - Drag and Drop Support
UploadAdvancedModeSettings Class