问题
Possible Duplicate:
ASP.NET treeview performance issue with IE7,8
I have a page with a treeview with 2000 nodes in it. When opening that page, the IE8 hangs. Other browsers(Chrome, FF) works fine. The browser hangs (Not Responding) and then reopens and then the page is loaded. Any idea
Update 1: When i used telerik treeview control and render the same number of nodes, it didnt hang but it hangs when using asp.net treeview. So definitely not a problem of huge data.
回答1:
Does it also hang in Safari? Cause, i know if you use more than 200 different iframes in Safari it hangs.
Perhaps it is cause of the large amount?
回答2:
There are nesting limits in IE. This is what is found related to IE 7.
回答3:
You can use lazy-loading for your treeview.
来源:https://stackoverflow.com/questions/6923063/ie8-hangs-when-loading-a-page