Skip to main content
Tab

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.v24.2.dll

Declaration

[DefaultValue(false)]
public virtual bool EnableDragAndDrop { get; set; }

Property Value

Type Default Description
Boolean false

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

Property Paths

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

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.

ASPxUploadControl_DragAndDrop

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