Back to Devexpress

UploadAdvancedModeSettings.EnableDragAndDrop Property

aspnet-devexpress-dot-web-dot-uploadadvancedmodesettings-ae857be0.md

latest2.8 KB
Original Source

UploadAdvancedModeSettings.EnableDragAndDrop Property

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

Declaration

csharp
[DefaultValue(false)]
public virtual bool EnableDragAndDrop { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property EnableDragAndDrop As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, to enable drag and drop support; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to EnableDragAndDrop
ASP.NET MVC ExtensionsUploadControlSettings

.AdvancedModeSettings .EnableDragAndDrop

| | ASP.NET Web Forms Controls | ASPxUploadControl |

.AdvancedModeSettings .EnableDragAndDrop

|

Remarks

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

Drag and Drop

Online Demo: Upload Control - Drag and Drop Support

UploadAdvancedModeSettings Class

UploadAdvancedModeSettings Members

DevExpress.Web Namespace