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

slow performance on large text size

1 Answer 353 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Miki
Top achievements
Rank 1
Miki asked on 04 Jul 2017, 06:32 AM
i'm using richtextbox for displaying html and when i got text with 500k char the system stuck for 40 minutes, with 100k it took 3 minutes, with 10k it took 3 seconds
is there anything to do with the performance? is it known issue?
except trimming the text is there anything else to do?

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 05 Jul 2017, 06:25 AM
Hi Miki,

The performance depends to a degree on the structure of the document and the features used in it - for example large number of annotations [hyperlinks], unusually long paragraphs or words can slow the layout process significantly.

Could you open a support ticket and and share the files with us for further investigation and performance profiling? 

This is more of a blind guess, but in case you are importing extremely long paragraphs and you have control over the creation of the HTML document, you can try splitting it to smaller paragraphs.

Regards,
Boby
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
RichTextBox
Asked by
Miki
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or