[CLOSED] Tab page autoload

  1. #1

    [CLOSED] Tab page autoload

    hi,
    i have load the page in tab. how to remove the tab autoload page and how to set empty tab.

    Tab1.AutoLoad.Url = "Frm_order.aspx";
    Tab1.AutoLoad.Mode = LoadMode.IFrame;
    Tab1.Load();
    i want to remove the tab1 autoload url and set empty page in tab1.


    Thanks in advance.



  2. #2

    RE: [CLOSED] Tab page autoload

    Hi,

    Please see the following sample:
    <%@ Page Language="C#" %>
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head2" runat="server">
        <title></title>    
    </head>
    <body>
        <form id="form1" runat="server">
            <ext:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Debug" />        
            
            <ext:TabPanel ID="TabPanel1" runat="server" Title="TabPanel" Width="300" Height="300">
                <Tabs>
                    <ext:Tab runat="server" Title="Tab1">
                        <AutoLoad Url="http://www.ext.net" Mode="IFrame" ShowMask="true">                 
                        </AutoLoad>
                    </ext:Tab>
                </Tabs>           
                <BottomBar>
                    <ext:Toolbar runat="server">
                        <Items>
                            <ext:ToolbarButton runat="server" Text="Clear Tab">
                                <Listeners>
                                    <Click Handler="#{TabPanel1}.getActiveTab().iframe.remove();" />
                                </Listeners>
                            </ext:ToolbarButton>
                        </Items>
                    </ext:Toolbar>
                </BottomBar>
            </ext:TabPanel>
            
        </form>
    </body>
    </html>
  3. #3

    RE: [CLOSED] Tab page autoload

    hi,

    how to do this in c#?
  4. #4

    RE: [CLOSED] Tab page autoload

    Hi,

    Just register this script


    ScriptManager1.AddScript("{0}.getActiveTab().ifram e.remove();", TabPanel1.ClientID);*


Similar Threads

  1. [CLOSED] How to access container from AutoLoad Page?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 29, 2011, 8:55 AM
  2. Replies: 2
    Last Post: Apr 23, 2009, 7:57 PM
  3. Can't get AutoLoad to work with local page
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: Apr 23, 2009, 5:16 AM
  4. Replies: 2
    Last Post: Feb 09, 2009, 12:21 PM
  5. Window autoload an aspx page
    By gastonregistra in forum 1.x Help
    Replies: 2
    Last Post: Apr 24, 2008, 1:48 PM

Posting Permissions