Ajax TabContainer 导致浏览器自动关闭
我正在尝试解决一个问题。我的页面上有一个 ASP.NET Ajax 的 TabContainer。每个选项卡都有一个在加载时绑定的 gridview 控件。但是由于某种原因,浏览器在页面呈现后自动关闭。如果我删除 TabContainer 那么它工作正常。 我认为绑定代码不会影响浏览器关闭,因为我的代码中没有任何地方注册任何脚本块。
另外值得注意的一件事是,这种情况仅发生在 IE 8 中。它在 Firefox 和其他浏览器中运行良好。
不知道之前有没有人遇到过类似的问题。
谢谢...
任何帮助将不胜感激。
I am trying to fix an issue. I have an ASP.NET Ajax's TabContainer on the page. And each tab there is a gridview control that gets binded onload. However for some reason the browser gets closed automatically after the page renders. If I remove the TabContainer then it works fine.
I think the binding code will no way effect the browser to close bacause no where in my code I am registering any Script block.
Also one notable thing is this happens only in IE 8. It works fine in firefox and other browsers.
I don't know if anyone encountered a similar issue before.
Thanks...
Any help will be deeply appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然回复晚了,但我很早之前就发现了这个问题。问题是启动 tabContainer 页面的页面有一个更新面板,这导致了问题,在我从父页面删除更新面板后,我的问题得到了解决。
谢谢你们的建议。
Although its late to respond I figured out the problem some time ago. The problem was that the page that launched the tabContainer page had an update panel and that was causing the issue and my problem was fixed after I removed the Update panel from the parent page.
Thanks for your suggestions guys.