Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to create an editor similar to Outlook Attachment Editor

$
0
0

This example demonstrates how the RichEditControl component can be used to emulate the Outlook Attachment Editor behavior.

The main idea of the approach demonstrated in this sample is to use the DOCVARIABLE field to display corresponding RTF content for each inserted file.

Question Comments

Added By: maulik shah 5 at: 5/14/2014 9:10:23 PM    

Hi
     This is a good example for attachment. I have implemented  in my project. Now i want if i click on that file, file download on selected folder.

Added By: Oleg (DevExpress Support) at: 5/15/2014 5:36:46 AM    

Hello,
In this sample, when you click a file, this file is opened with the assigned application. However, you can simply implement any custom logic when an end-user clicks the file in the RichEditControl.HyperlinkClick event handler.
I have attached a modified version of this sample to demonstrate how you can save the file to another location.
I hope you will be able to adapt this sample for your real application.

Added By: maulik shah 5 at: 11/10/2014 9:47:23 PM    

Hi,

         I have faces issue while attachment. there are some file attached but not shown in richeditcontrol.
can you please help to resolve it.

Added By: Oleg (DevExpress Support) at: 11/10/2014 10:36:08 PM    

Hello Maulik,
To process your recent post more efficiently, I created a separate ticket on your behalf: T171370: Attached files are not shown in RichEditControl after implementing the approach demonstrated in the E4911 example. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>