Drag and Drop Images in RadEditor
This example shows
integration of RadTreeView and RadEditor.
You can drag and drop images from RadTreeview into RadEditor.
This can be easily achieved by handling the following events client-side:
- OnClientNodeDragStart - Create and display an overlay to prevent the editor content area from capturing mouse events
- OnClientNodeDragging - Change the cursor's visual appearance according to its position
its toolbar will appear docked at the top of the page
- OnClientNodeDropping - Paste the image into the RadEditor and remove the overlay