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

A script on the page is causing IE to run slowly

2 Answers 38 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
NLV
Top achievements
Rank 1
NLV asked on 17 Mar 2010, 11:41 AM
Hello team,

i've faced this issue before and i'm facing the same issue again. I've a treeview in which one of its nodes NodeA is having 1000 child nodes under it.

I've set the CheckChildNodes property to true for the treeview. So when i check or uncheck the node NodeA, i'm getting the specified script warning message (but once in 50 times i'm not getting the message and the check/uncheck works fine).

Locally i've tested with 1500 nodes and it is running okay. But i've lot of other controls in the page in the original application.

I've tried the solutions given in this link - http://www.telerik.com/help/aspnet-ajax/troubleshooting-treeview-script-causes-ie-run-slowly.html and none of them worked.

Can you provide any insights on this?

Thank you.

Regards
NLV

2 Answers, 1 is accepted

Sort by
0
Vesko
Top achievements
Rank 2
answered on 22 Mar 2010, 11:22 AM
Internet Explorer's javascript engine is slower compared to Firefox or Chrome.
You can test it 1500 <asp:CheckBox> elements and try to check them at once - you will get the same message in IE especially when the page contains another controls.
I have not found any solutions to this - except to reduce the number of the visible nodes (by using hierarchy and load on demand).
0
NLV
Top achievements
Rank 1
answered on 23 Mar 2010, 09:41 AM
I'm already loading all the child nodes on demand!
Tags
TreeView
Asked by
NLV
Top achievements
Rank 1
Answers by
Vesko
Top achievements
Rank 2
NLV
Top achievements
Rank 1
Share this question
or