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

3 posts, 0 answers
  1. lixin
    lixin avatar
    3 posts
    Member since:
    Jan 2013

    Posted 20 Feb 2013 Link to this post

    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. lixin
    lixin avatar
    3 posts
    Member since:
    Jan 2013

    Posted 20 Feb 2013 Link to this post

    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
  3. DevCraft banner
  4. Alex
    Admin
    Alex avatar
    129 posts

    Posted 22 Feb 2013 Link to this post

    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.

Back to Top