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

RadTextBox Very Large Amount of Text Hangs Browser

1 Answer 80 Views
Input
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 30 Apr 2009, 08:14 PM
While using a RadTextBox, if a user has a very large amount to text, the text box hags the browser and maxes out the processor.

Example:
http://demos.telerik.com/aspnet-ajax/input/examples/common/orderform/defaultcs.aspx

Copy and Paste text from this file:

http://www.microsoftboy.com/downloads/HugeText.zip


Expanded File Size: 222 KB (228,152 bytes)
218, 183 characters with spaces.
7,201 lines
10, 753 words.


Skin Setting:
<telerik:RadTextBox runat="server" Skin="Office2007" Width="400px"
                FocusedStyle-BackColor="#e0f4f6">
</telerik:RadTextBox>

Definition:
<telerik:RadTextBox Width="600px" Height="450px" runat="server" ID="txtFormatTemplateContent"
ReadOnly="False" TextMode="multiLine" Text='<%# Bind("xslContent") %>' style="position: relative" ></telerik:RadTextBox></td>
                                           

******************************
//Added asp.net textbox to see if it had any performance issues and it did not.
<asp:TextBox BackColor="green" ID="txtFormatTemplateContent2"   Width="600px" Height="450px" runat="server" ReadOnly="false" TextMode="multiLine"
                                            style="position: relative" Text='<%# Bind("xslContent") %>'></asp:TextBox>
*******************************

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 04 May 2009, 12:52 PM
Hi Josh,

Generally it is not recommended to use the RadTextBox with such amounts of text as it was not designed for that purpose. I can suggest you to use the RadEditor as an alternative which was built to handle such scenarios.

Kind regards,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Input
Asked by
Josh
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or