Ajax TabContainer 渲染问题
我使用带有多个选项卡的 Ajax TabContainer 和 IE 作为浏览器。 在动态创建和添加的选项卡之一上,我显示了许多图表。 有时某些图表丢失,在更改选项卡或用鼠标选择区域后,图表就会出现。
这个问题只存在于生产环境中,也就是说,在开发环境中没有问题。
预先非常感谢您的帮助。
I'm using Ajax TabContainer with a number of tabs,and IE as browser.
On one of the tabs, which is created and added dinamically, I'm showing a number of charts.
Sometimes some of the charts are missing, and after changing tab or selecting the area by mouse, the chart apears.
This problem exists only in production environment, in other words, in development environment there is no problem.
Thanks very much in advance for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以解决这个问题,尽管方式很棘手。
我强制 tabContainer 在页面加载后重绘:
它除了激活已经处于活动状态的选项卡之外什么也不做。
不过,我想知道是否有更好的解决方案。
I could fix the issue, even though in a tricky way.
I forced the tabContainer to redraw after the page is loaded:
It does nothing but activating the tab which is already active.
However, I'm wondering if there is any better resolution.