load aspx page in static tabpanel..

  1. #1

    load aspx page in static tabpanel..

     <ext:TabPanel ID="TabPanel1" runat="server">
              <Items>
                <ext:Panel ID="pnlEmergency" runat="server" Title="Emergency">
                       //I have to load Emergency.aspx...
                </ext:Panel>
            </Items>
      </ext:TabPanel>
    In "pnlEmergency" Have to load aspx page...please can anyone help me...
    Thanks for any help....
  2. #2
    Hi @antoreegan,

    Please use a Loader as here:
    https://examples2.ext.net/#/Window/B...ernal_Website/
  3. #3

    it wont show inside the tab control.....

       <ext:TabPanel ID="TabPanel1" runat="server">
            <Items>
    
                <ext:Panel ID="xxx" runat="server" Title="TPA" AutoScroll="false">
                    <Listeners>
                        <Activate Handler="#{Window1}.show( );" />
                    </Listeners>
                </ext:Panel>
    
            </Items>
        </ext:TabPanel>
    
    
    protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                Ext.Net.Panel win = new Ext.Net.Panel
                {
                    ID = "Window1",
                    Title = "Ext.NET",
                    AutoRender = false,
                    Hidden = true,
                    Loader = new ComponentLoader
                    {
                        Url = "Disease.aspx",
                        Mode = LoadMode.Frame,
                    }
                };
    
                this.xxx.Controls.Add(win);
            }
        }
    while i click that tab...it wont show inside the tab panel.....
    Last edited by antoreegan; Apr 24, 2013 at 1:54 PM.
  4. #4
    Please replace
    this.xxx.Controls.Add(win);
    with
    this.xxx.Items.Add(win);

Similar Threads

  1. [CLOSED] V2.0 TabPanel Show Page aspx
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 05, 2012, 3:34 PM
  2. How can I Load aspx Page in Panel?
    By archana in forum 1.x Help
    Replies: 2
    Last Post: Dec 16, 2011, 4:29 AM
  3. calling aspx page in tabpanel
    By hsmukunda in forum 1.x Help
    Replies: 1
    Last Post: Oct 04, 2011, 4:29 PM
  4. [CLOSED] How to load an aspx page using relative path for the url?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 01, 2010, 8:27 AM
  5. Link click load aspx page in existing tab
    By msnyder0 in forum 1.x Help
    Replies: 1
    Last Post: Oct 26, 2008, 5:29 PM

Posting Permissions