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

The maximum size of text in kb that can be typed in "radRichTextBox"

3 Answers 120 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rinkesh
Top achievements
Rank 1
Rinkesh asked on 13 Apr 2012, 07:20 AM
What is the maximum size of text in kb that can be typed in "radRichTextBox"?......

Is there any limit for the maximum size of text in kB or mB that can be input in the radRichTextBox???
If there is some maximum limit ,what is it???


Pls Reply soon.

3 Answers, 1 is accepted

Sort by
0
Accepted
Lancelot
Top achievements
Rank 1
answered on 15 Apr 2012, 07:16 PM
How big are you trying to get? The RadRichTextBox can easily support over 500 MS word pages, here is a snippet from the controls documentation...


"As a native Silverlight 4.0 rich text editor, RadRichTextBox is developed with two major goals in mind - performance and memory usage. We did our best to provide performance that allows handling of very large documents – over 500+ MS Word A4 pages, while the memory footprint is very small and remains unnoticeable changed when editing. To achieve this we have developed our own multithreaded layout system, efficient data structures, and again our own custom font measurement system. RadRichTextBox is 100% virtualized with recycled UI – this means that we create only the UI objects which are visible and the same elements are reused when scrolling through the document."


Is this the answer you were looking for? If not, can you give me a little more detail on what you are trying to achieve and I can give you a more definitive answer.

0
Rinkesh
Top achievements
Rank 1
answered on 16 Apr 2012, 07:26 AM
Can you give me the size in KB or MB??
0
Lancelot
Top achievements
Rank 1
answered on 16 Apr 2012, 03:07 PM
The RadRichTextBox uses virtualization and handles very large amounts of data smoothly. There is no "top number", the performance would vary from system to system depending on what system resources are available to your app. The control achieves this by using memory for changes made to the document currently visible in the UI at the time. Your document can be extremely large but the control only worries about what the user is currenly looking at and working on.

I recommend that you create an example app with the control, and then add the amount of data you would be dealing with to the RadRichTextBox. Once you reach the amount your app would be using under normal conditions, continue to add more data and note any performance differences above your normal amount. I also recommend you repeat this procedure on different machines with lower system resources to see how the control performs with lower memory availability.
Tags
RichTextBox
Asked by
Rinkesh
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Rinkesh
Top achievements
Rank 1
Share this question
or