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

4 posts, 1 answers
  1. Rinkesh
    Rinkesh avatar
    3 posts
    Member since:
    Mar 2012

    Posted 13 Apr 2012 Link to this post

    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.
  2. Answer
    Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 15 Apr 2012 Link to this post

    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.

  3. DevCraft banner
  4. Rinkesh
    Rinkesh avatar
    3 posts
    Member since:
    Mar 2012

    Posted 16 Apr 2012 Link to this post

    Can you give me the size in KB or MB??
  5. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 16 Apr 2012 Link to this post

    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.
Back to Top