Mar 05, 2012, 3:03 PM
[CLOSED] V2.0 TabPanel Show Page aspx
Hi, in versione 1.2 this work ok
it's work OK.
Tanks
Aurelio
var addTab = function (tabPanel, id, url, title) {
var tab = TabPanelHome.getComponent(id);
if (!tab) {
tab = TabPanelHome.add({
id: id,
title: title,
closable: true,
autoLoad: {
showMask: true,
url: 'Utenti.aspx',
mode: "iframe",
maskMsg: "Caricamento " + title + "..."
}
});
}
TabPanelHome.setActiveTab(tab);
}
In 2.0 this not work, i don't show the page the tab is empty... var addTab = function (tabPanel, id, url, title) {
var tab = App.TabPanelHome.getComponent(id);
if (!tab) {
tab = App.TabPanelHome.add({
id: id,
title: title,
closable: true,
loader: {
url: 'Utenti.aspx',
rendererType: "iframe",
loadMask: {
showMask: true,
msg: "Loading " + url + "..."
}
}
});
}
App.TabPanelHome.setActiveTab(tab);
}
If change the Url with: Http://www.ext.netit's work OK.
Tanks
Aurelio
Last edited by Daniil; Mar 05, 2012 at 3:38 PM.
Reason: [CLOSED]