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

Getting Slow running Script error on IE8 when using Rad List Box of Telerik.Web.Ui

3 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pravin
Top achievements
Rank 1
Pravin asked on 27 Feb 2014, 06:01 AM
I am using Rad List box control of Telerik.Web.UI for allowing user to select items from the availbale items  by moving it to right list box from left one.

But whenever I try to move the items by selecting lot of them, It gives me error as

"Stop running this script?
A script on this page is causing Internet Explorer to run slowly.
If it continues to run, your computer might become
unresponsive."

I am using  IE8 for my application.

can someone please help me on this,

Thanks in advance..!!

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Feb 2014, 11:51 AM
Hi Pravin,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end.

ASPX:
<telerik:RadListBox ID="RadListBox1" runat="server" SelectionMode="Multiple" AllowTransfer="true"
    TransferToID="RadListBox2" TransferMode="Move">
    <Items>
        <telerik:RadListBoxItem Text="Item1" />
        <telerik:RadListBoxItem Text="Item2" />
        <telerik:RadListBoxItem Text="Item3" />
        <telerik:RadListBoxItem Text="Item4" />
        <telerik:RadListBoxItem Text="Item5" />
        <telerik:RadListBoxItem Text="Item6" />
        <telerik:RadListBoxItem Text="Item7" />
    </Items>
</telerik:RadListBox>
<telerik:RadListBox ID="RadListBox2" runat="server">
    <Items>
        <telerik:RadListBoxItem Text="Item8" />
    </Items>
</telerik:RadListBox>

Thanks,
Princy.
0
Pravin
Top achievements
Rank 1
answered on 03 Mar 2014, 05:55 AM
Hi Princy,
Thanks for replying.

actually this error comes when you have more than 700 Items in your list(in IE8).

can you please try adding more items and check.


0
Plamen
Telerik team
answered on 04 Mar 2014, 11:47 AM
Hello Pravin,

The error is a limitation that can be observed with other controls too because the engine that handles javascript and HTML in IE8 can not handle greater amount of scripts. There is not much that can be done in this case -one possible solution is described in this help topic.

You could also try using Load on demand binding in case it worked better for your case.

Hope this information will be helpful.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
General Discussions
Asked by
Pravin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Pravin
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or