
5 Answers, 1 is accepted
Copying and pasting of rich text from external sources, such as a RadRichTextBox in another window, MS Word 2007 or Visual Studio for example is supported. This includes images.
In order to get it working, however, you would have to add a reference to Telerik.Windows.Documents.FormatProviders.Rtf, because the clipboard uses RTF serialization and deserialization. In the next minor release we will add HTML pasting also.
Additionally, pasting of raw image data from the clipboard is currently unavailable, but we have scheduled it for the next minor release (SP1).
If this does not answer your question, do not hesitate to contact us again.
Iva
the Telerik team

The Silverlight framework itself only supports plain text clipboard. Therefore it is not possible for that feature to be implemented. If, at some point, a new version of Silverlight is released that allows access to other clipboard formats, we will support them.
Best wishes,
Ivailo
the Telerik team

I am using SP1 but am still having difficulty with pasting HTML. Images do not come through at all and some formatting does not come through correctly. I have a reference to Telerik.Windows.Documents.FormatProviders.Html, and in fact am using HTML to store the data in the DB.
I also have a reference to Telerik.Windows.Documents.FormatProviders.Rtf.
Thanks
Geoff
Could you give us a sample HTML that is not being pasted correctly, so we can test it on our end.
You can get the HTML from the clipboard in the following way:
string
clipboardContent = (
string
)Clipboard.GetData(DataFormats.Html);
You can get the content of the clipboard that is kept as RTF in the same way.
Looking forward to your reply. Regards,
Iva Toteva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>