C1RichTextBox - Slow Paste

Posted by: yourunclebob on 10 September 2017, 12:41 pm EST

    • Post Options:
    • Link

    Posted 10 September 2017, 12:41 pm EST

    I’m currently evaluating ComponentOne Studio for Silverlight, mainly in hopes of using the C1RichTextBox. My first test was to paste a large (about 4,500 lines) plaintext file into the control. After 5 minutes (and several tries), I’ve given up waiting for the paste to complete. This is a bare control with no events yet registered to it.

    By contrast, the default SilverLight RichTextBox takes under 2 seconds to complete this operation.

    Is this the expected behavior?

    Breaking in in the debugger after the paste does indeed show that it’s always deep into C1.Silverlight.RichTextBox.5!C1.Silverlight.RichTextBox.Documents working with either a C1TextElement or C1TextPointer.

    I’m looking for a control to work on large documents. Is there any workaround for this? My next step was to see how responsive the control was when editing the large file, but I can’t get the large file in to begin with (I’ll look into the file load methods, but a large paste is still something we expect to do often).

  • Posted 10 September 2017, 12:41 pm EST

    Hello,

    We could reproduce your issue and have escalated this to the concerned team.

    We will get back to you when there is any update from them.

    Regards,

    Reema

  • Posted 21 February 2019, 12:54 am EST

    Hi,

    I am sorry but this is a limitation of the control as of now.

    ~Pragati

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels