[CLOSED] V2.0 TabPanel Show Page aspx

  1. #1

    [CLOSED] V2.0 TabPanel Show Page aspx

    Hi, in versione 1.2 this work ok

    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.net
    it's work OK.

    Tanks
    Aurelio
    Last edited by Daniil; Mar 05, 2012 at 4:38 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please replace
    rendererType: "iframe"
    with
    renderer: "frame"
  3. #3
    Hi Daniil tanks you save my life... it's work ok..

    Tanks

    Aurelio

Similar Threads

  1. Replies: 2
    Last Post: Nov 15, 2012, 1:52 AM
  2. Replies: 7
    Last Post: Jul 31, 2012, 9:31 PM
  3. Replies: 2
    Last Post: Mar 29, 2012, 10:00 PM
  4. Replies: 2
    Last Post: Feb 17, 2012, 3:45 PM
  5. calling aspx page in tabpanel
    By hsmukunda in forum 1.x Help
    Replies: 1
    Last Post: Oct 04, 2011, 5:29 PM

Posting Permissions