[CLOSED] Tab Panel reload

Page 2 of 2 FirstFirst 12
  1. #11
    Quote Originally Posted by Daniil View Post
    Do you need a mask on the whole page?
    It wouldn't hurt. At the very least, I need it on the tab being reloaded.

    Thanks,

    Vadym
  2. #12
    Well, you could just set up
    ShowMask="true"
    in AutoLoad.
  3. #13
    I got it. For my initial problem, if anyone would be interested in knowing how I tackled it, I've added a boolean attribute to every tab panel object in javascript on creation. Then, when a tab gets activated, I check its value and reload a tab if necessary:

                    tab = TabPanel1.addTab({
                        id: id,
                        title: title,
                        iconCls: iconCls,
                        tabTip: tabTip,
                        closable: true,
                        doReload: false,
                        listeners: {
                            activate: {
                                    if (this.doReload == true) {
                                        this.doReload = false;
                                        this.reload();
                                    }
                                }
                            }
                        },
                        autoLoad: {
                            showMask: true,
                            url: url,
                            mode: 'iframe',
                            noCache: true,
                            maskMsg: "Loading '" + title + "'...",
                            scripts: true
                        }
                    });
    Thanks,

    Vadym
  4. #14
    Looks good.

    Please clarify can we mark the thread as closed?
  5. #15
    Please do.

    Thanks,

    Vadym
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] reload usercontrol in panel & checkbox
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 10, 2011, 8:46 AM
  2. Grid Panel Reload
    By karthik.arian03 in forum 1.x Help
    Replies: 6
    Last Post: Feb 17, 2011, 11:31 AM
  3. [CLOSED] Efficient Panel Reload
    By macap in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 25, 2010, 2:25 PM
  4. [CLOSED] Reload an iframe within a panel
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 05, 2009, 12:55 PM
  5. Reload central panel content
    By Dgsoft.ru in forum 1.x Help
    Replies: 1
    Last Post: Apr 08, 2009, 6:34 AM

Tags for this Thread

Posting Permissions