Skip to content

DevExpress-Examples/asp-net-web-forms-richedit-open-a-document-using-drag-and-drop

Repository files navigation

Rich Text Editor for ASP.NET Web Forms - How to open a document using drag and drop

This example allows users to drag files to the Rich Text Editor to open them in the control. In the example, the work directory is not specified and Open and Save As operations are unavailable.

Open Documents Using Drag and Drop

The Upload Control allows users to upload files from a client computer and save them on the server. Set the control's EnableDragAndDrop property to true to enable drag and drop support. Assign the ASPxRichEdit control's identifier to the Upload control's ExternalDropZoneID property to upload files that users drag in the Rich Text Editor.

Once the file upload operation is completed, use the RichEditDocumentServer to save the file's content to a stream. Pass the stream to the Open method to open this document in the Rich Text Editor.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Allow users to drag files to the Rich Text Editor to open them in the control.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •