how to redirect page from tab 2 to tab 1

  1. #1

    how to redirect page from tab 2 to tab 1

    i have a tabpanel in default page, in tab 1 load "HomePageSanca.aspx" as you can see and in tab 2 a user registration page "RegistrazioneUtente.aspx".
    In registration page i have a asp net button that should do the redirect to the default page after the registration,but the page is opened in the tab 2
    how do I open the pages in tab 1 correctly?
    Thanks a lot

    <ext:TabPanel ID="TabPanelSanca" runat="server" EnableTabScroll="true" ActiveTabIndex="0" Border="false" IDMode="Static">
                                        <ext:Panel ID="PanelHomePage" runat="server" Title="Home Page">
                                            <AutoLoad Url="HomePageSanca.aspx" ShowMask="true" Mode="IFrame"></AutoLoad>
                                        <ext:Panel ID="PanelRegistrazione" runat="server" Title="Registrati">
                                             <AutoLoad Url="RegistrazioneUtente.aspx" ShowMask="true" Mode="IFrame"></AutoLoad>
                                        <ext:Panel ID="PanelOffriPassaggio" runat="server" Title="Offri Passaggio">
                                        <ext:Panel ID="PanelTrovaPassaggio" runat="server" Title="Trova Passaggio">
                                        <ext:Panel ID="PanelComeFunziona" runat="server" Title="Come Funziona">
  2. #2

    I can suggest the following:

    1. Define a DirectMethod in tab 1 with:
    2. Call it from server side of tab 2 this way:
    X.Js.Call("parent.PanelHomePage.getBody()", "someUrl");

Similar Threads

  1. Replies: 1
    Last Post: Aug 12, 2011, 1:35 PM
  2. In Ajaxmethod how do i redirect to next page
    By Nagaraju in forum 1.x Help
    Replies: 2
    Last Post: May 20, 2011, 4:25 AM
  3. Redirect to another page?
    By mattwoberts in forum 1.x Help
    Replies: 3
    Last Post: Dec 17, 2010, 1:54 PM
  4. [CLOSED] Not able to redirect a page in AjaxMethod
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 25, 2009, 4:16 AM
  5. Replies: 0
    Last Post: Jun 12, 2009, 2:51 PM

Posting Permissions