开发者

IE, Ext.TabPanel, and iFrame

Here is the case:

I have a page with an iFrame whose src points to another aspx page(same domain). The page the iFrame points to loads scripts that render Ext.TabPanel with some tabs in it. So, the first time the page is loaded, these components render well, nice and simple. But, the issue is when any of the tabs on the TabPanel are activated through a JavaScript event or a manual click, the whole iFrame region goes blank. I see appropriate requests (for activate event) being issued to the server and coming back开发者_如何学C with appropriate responses. It is just that the UI goes away and I don't see a thing in the iFrame at all, it's all blank. The strange thing is, open up the Developer Tool and make any change on any part of any associated CSS, boom, the things come back on. The other strange thing yet is that this only occurs in IE. In FF, every thing works as a charm. Any ideas? Thanks


Why are you using an IFrame? You should design your page to leverage the Layout Managers. It sounds like you can achieve what you want by using the Viewport object. In place of your IFrame, you can use a panel in the "west" region and use the AJAX calls to update/render your "center" region.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜