树形视图在 IE 中速度缓慢?
我有一个包含大约 200 条记录的树视图,需要随时完全展开(因此无需按需加载)。它位于更新面板内,更新模式设置为有条件。页面上还有其他设置为有条件的更新面板。根据用户操作,可能需要通过调用 databind 并更新 updatepanel 来重建树。在 Firefox 中一切正常,最长回发大约 2 秒。使用 IE,有时我必须等待长达 30 秒,而且该操作可能与树无关,只是更改其自己的更新面板中的下拉列表会花费很长时间。我已经考虑过视图状态的大小,并且生成的原始 HTML 可能会导致延迟,但这不会影响两个浏览器吗?任何人都知道是什么导致 IE 速度如此之慢???谢谢!
I have a treeview with around 200 records that needs to be fully expanded at all times (so no loading on demand). It is inside of an update panel with the updatemode set to conditional. There are other update panels on the page as well that are set to conditional. Depending on user actions the tree may need to be rebuilt by calling databind and updating the updatepanel. Everything works fine in firefox, longest postback about 2 seconds. With IE I have to wait up to 30 seconds sometimes and the action may have nothing to do with the tree just changing a dropdown in its own updatepanel takes forever. I have considered the size of viewstate and just raw HTML generated may be causing the delay but wouldn't that effect both browsers? Anyone have anyideas what is making it so slow in IE??? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论