[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Collapse]File Management
   [Expand]Product Information
   [Expand]File Manager
   [Collapse]File Upload
     Upload Modes
     Upload Large Files
     Multi-File Selection
     Page Life Cycle During File Upload
     Drag and Drop
     Appearance Customization
     Visual Elements
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Drag and Drop


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+.

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 UploadAdvancedModeSettings.EnableDragAndDrop property to true.

You can customize the drop zone style settings using the UploadControlStyles.DropZone property.

ASPxUploadControl allows you to provide external zones (HTML elements) where end-users can drop a file to add it to the upload control file list. To specify upload control drop zones, list zone IDs in the UploadAdvancedModeSettings.ExternalDropZoneID property. When a file is being dragged over a drop zone, the following events are raised.

Expanded See Also

Is this topic helpful?​​​​​​​