ASPxClientUploadControl.DropZoneLeave Event

Fires when the mouse leaves a drop zone or an external drop zone element while dragging a file.

Declaration

DropZoneLeave: ASPxClientEvent<ASPxClientUploadControlDropZoneLeaveEventHandler<ASPxClientUploadControl>>

Event Data

The DropZoneLeave event handler receives an argument of the ASPxClientUploadControlDropZoneLeaveEventArgs type. The following properties provide information specific to this event.

Property Description
dropZone Gets a drop zone object related to the processed event.

Remarks

When the UploadAdvancedModeSettings.EnableDragAndDrop property is set to true, ASPxUploadControl allows end-users to add files to upload lists by dragging them to a control.

ASPxUploadControl_DragAndDrop

Use the DropZoneLeave event to perform custom actions when the mouse leaves a drop zone or an external drop zone element (specified by the UploadAdvancedModeSettings.ExternalDropZoneID property) while dragging a file. To respond to entering a drop zone, handle the ASPxClientUploadControl.DropZoneEnter event.

To learn more about the drag and drop functionality of the upload control, see the Drag and Drop topic.

See Also