View Full Version : Application Hangs on IE9 for large Iframe contents

21 May 2013, 8:11 PM

I'm facing an issue in using iframe (Version: Extjs4.1.1) that when iframe contains large content, application hangs on IE9. (In my case, iframe contains a document of 10.4MB ). It is super heavy on IE9, it even crashed IE once for me.

Ext.define('Int.IFramePanel', {
extend: 'Ext.panel.Panel',
initComponent: function () {
var me = this;
me.mon(me, 'afterrender', me.afterRenderHandeler, me);

afterRenderHandeler: function (ct, position) {
var me = this;
me.frame = me.body.createChild({
tag: 'iframe',
frameborder: "no",
border: "0",
style: 'width: 100%; height: 99%',
src: me.url //contains source url of my document

Is this the problem of IE or is there issue in using in EXTJS? Please suggest any solution in both case.

21 May 2013, 8:22 PM
Ext doesn't do anything extra with frames. When you've got Ext loaded, there's more memory being used, but other than that, there's no special handling.