Jul 06, 2009, 5:41 AM
[CLOSED] TabPanel issue?
Hi, I have the a problem with TabPanel:
function openExistingOrder( texturl ) {
var tabPanel = <%= Pages.ClientID %>;
var tab = tabPanel.add ({
id: 'Sale' + extractDocName( texturl, "doc" ),
title: extractDocName( texturl, "prot" ),
closable: true,
autoLoad: {
showMask: true,
url: texturl,
mode: 'iframe',
maskMsg: 'Loading: ...'
}
});
tabPanel.remove( tabPanel.activeTab, true );
tabPanel.setActiveTab(tab);
}
I invoke this javascript from within an iframe, everything works fine, but firebugs give the following error
Error: Ext is not defined
File source: http://localhost:50204/extjs/ext-all...te.axd?v=18017
Line: 228
If I remove this line the error is not thrown anymore
tabPanel.remove( tabPanel.activeTab, true );
It's not a blocking problem, since everything keeps working, but it's
very annoying, and I'm afraid it could generate new errors later.
Is anyone can help me, please?
Regards, Stefano