A script on the page is causing IE to run slowly

3 posts, 0 answers
  1. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 17 Mar 2010 Link to this post

    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.

  2. Vesko
    Vesko avatar
    122 posts
    Member since:
    Mar 2009

    Posted 22 Mar 2010 Link to this post

    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).
  3. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 23 Mar 2010 Link to this post

    I'm already loading all the child nodes on demand!
Back to Top