A sample demonstrates how to drag drop photo and crop it before upload.
1. Use DropZoneID set the ID of a web control or HTML element where files can be dragged and dropped for upload.
2. Handle the client side onClick event for the Submit button.
Drag and drop an Image to Upload
Or Select Image to Upload