Hi Vladimir,
Thank you for your quick answer.
I can reproduce quickly on FireFox but not on IE.
I launch Fiddler 2 and I checked request after the problem appears.
Even after the problem, I can still create new windows but can't close them.
The close action is only a javascript method so I don't see it in Fiddler.
But I created a new window and recorded this request :
<script type="text/javascript" src="/MyApp/extjs/adapter/ext/ext-base-js/ext.axd?v=36328"></script>
<script type="text/javascript" src="/MyApp/extjs/ext-all-js/ext.axd?v=36328"></script>
<script type="text/javascript" src="/MyApp/extnet/extnet-core-js/ext.axd?v=36328"></script>
<script type="text/javascript" src="/MyApp/extjs/locale/ext-lang-fr-js/ext.axd?v=36328"></script>
<script type="text/javascript">
//<![CDATA[
Ext.net.ResourceMgr.init({id:"extMain",BLANK_IMAGE_URL:"/MyApp/extjs/resources/images/default/s-gif/ext.axd",theme:"blue",appName:"MyApp"});Ext.onReady(function(){Ext.QuickTips.init();new Ext.form.Hidden({id:"hfUrl",renderTo:"hfUrl_Container"});new Ext.form.Hidden({id:"hfTabIdx",renderTo:"hfTabIdx_Container"});new Ext.Viewport({id:"ctl04",renderTo:Ext.getBody(),items:{id:"pnlMain",autoScroll:true,items:null,layout:"anchor",autoLoad:{url:"/MyApp/Download.ashx?docid=d66bc3de-90e2-4e7e-89fa-b09a592f6167&action=V",scripts:true,mode:"iframe",showMask:true,maskMsg:"Traitement en cours..."},keys:{fn:load,key:[13]}},layout:"fit"});checkWindowHeight(); setTimeout('setSize()', 200); checkErrorMessage(); initNavigateUrl(true);});
//]]>
</script>
I don't know if it could be useful.
Otherwise, what can I do exactly with Fiddler ?
Why the problem appears with FF and not IE ?
After investigation :
I debugged the javascript with FF :
I can create some new windows and doing what I want while everything.
I can call some javascript or direct methods, ...
When I want to close it, I call a method w.close();
where w = parent.frames[this.name.substring(0, this.name.length - 7)]
The name is the id of the dynamic window created.
Just before calling w.close(), "Ext" is known and has value.
If I press F11 (go inside the method) : I can't go there and I have the error : "Ext is not defined".
I hope it will help you to better understand my problem.
PS : I remarked that the method w.close() works perfectly during a certain time of use.
And at one moment it doesn't work.
Thanks,
Yannis.