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

Why is the richtextbox for silverlight weaker than the richtextbox for asp.net?

2 Answers 55 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
lixin
Top achievements
Rank 1
lixin asked on 20 Feb 2013, 08:34 AM
Hi Telerik,
    I did a contrast between the three richtextboxes (For silverlight, WPF and asp.net) on the supports for following scenarios:
   

 

For Silverlight

For WPF

For ASP.NET

Enterring text and formatting text

 Support

 Support

Support

Pasting a plain text segment

 Support

Support

Support

Pasting a formatted text segment copied from a word doc with Chinese characters

Pasted a plain text segment

All Chinese characters turned into a pile of messy code

Support

Pasting a table copied from an excel doc with Chinese characters

Pasted a table without grid lines

Support

Support

Pasting a text segment copied from a web page with Chinese characters

Pasted a plain text segment

Support

Support

Pasting an image copied from a word doc

Pasting command is not available

 Support

 Pasting command is not available








My first question is why the richtextbox for asp.net work better on some pasting scenarios than the richtextbox for silverlight. And I wanna use the richtextbox for silverlight, so my 2nd question is how to keep the format of the text segment copied from a word or excel doc when user try to past it within a richtextbox for silverlight.

Looking forward to your reply, thank you!
                                                                                                                                  simon
   

2 Answers, 1 is accepted

Sort by
0
lixin
Top achievements
Rank 1
answered on 20 Feb 2013, 08:43 AM
Sorry for the horrible layout of my last thread. I will attach a picture with this thread to show my contrast table.
In addition, I got a new trouble when I tried to enter Chinese characters in the richtextbox for silverlight using a Chinese IME. I can not enter anything!
                                                                                             simon
0
Alex
Telerik team
answered on 22 Feb 2013, 01:43 PM
Hi Simon,

Indeed, copy/pasting rich text (images, tables, formatted text) from an external source to RadRichTextBox will not work. The reason for that is Silverlight's limited clipboard which supports only in plain text. Unfortunately, this is a limitation of the platform so there is nothing we can do in this regard.
About the problematic copy/paste form word to RadRichTextBox under WPF - could you please open a support ticket and send us a sample word document, so that we can reproduce and investigate the problem.
About the problem with the input with the Chinise IME, we would appreciate if you could open a support ticket for that as well. It would be helpful to share some more information about which IME you are using and what is the errors(if  any) that you are getting.

Thank you for your cooperation.

Kind regards,
Alex
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
lixin
Top achievements
Rank 1
Answers by
lixin
Top achievements
Rank 1
Alex
Telerik team
Share this question
or