This is a migrated thread and some comments may be shown as answers.

Copy Table problem (to Outlook/Word)

3 Answers 33 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 10 Apr 2012, 03:33 PM
Hello,

I am using the Richtextbox to create a text that the user can then copy to outlook or word. In this text I also have a table. But when it is coppied every cell starts on a new line. Do I need to set something so the table is Copied as a real table?

I used to use the windows Richtextbox with FlowDocument and there this worked only line ends were skipped.

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 12 Apr 2012, 12:23 PM
Hello Kevin,

Unfortunately we couldn't reproduce your problem. Tables should work correctly in this case without any additional settings.
Can you send us a particular sample document in a support ticket, so that we can examine this issue? 

Greetings,
Martin
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Kevin Hendriks
Top achievements
Rank 1
answered on 16 Apr 2012, 02:04 PM
Hello,

I have found the problem.
It is important to have referenced. Telerik.Windows.Documents.FormatProviders.Rtf
If I do not have this as a reference in my project the tables are not copied to the clipboard correctly
0
Martin Ivanov
Telerik team
answered on 17 Apr 2012, 04:19 PM
Hi Kevin,

We are glad that you have solved the problem successfully. This requirement is mentioned in this article, but we will consider emphasizing and exposing it better.

 Don't hesitate to contact us if you have other questions.

All the best,
Martin
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Kevin Hendriks
Top achievements
Rank 1
Share this question
or