JanardhanSharma Ответов: 1

Проблема URL-адреса в iframes


Im using 3 Iframes in the master page.

iframe-1 referenced to TopMenu.aspx
iframe-2 referenced to WelcomePage.aspx
iframe-3 referenced to BottomMenu.aspx

ifram-1 and iframe-3 are constant here. Im trying to open the aspx web forms
in Iframe-2 (i.e. in middle frame). 
But though the redirection is happening, URL is not updating in the address bar as i'm using the iframe. 
How can i resolve it?   


Что я уже пробовал:

<body class="size-960">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
 <div style="text-align: center">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div id="topframe">
                  <input id="UserPassword" runat="server" type="hidden" />
                    <iframe height="175px" width="1000px" scrolling="no" id="TopFrame" name="TopFrame"
                        frameborder="0" src="TopMenu.aspx"> <%--85px--%>
                    </iframe>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
                    <center>
                     <iframe height="480px" width="1000px"   id="MainFrame" name="MainFrame"
                             frameborder="0" src="AccountDetails.aspx"> <%--580px--%>
                        </iframe>
                    </center>
                </ContentTemplate>
            </asp:UpdatePanel>
        </asp:ContentPlaceHolder>
       <asp:UpdatePanel ID="UpdatePanel3" runat="server">
            <ContentTemplate>
                <center>
                    <iframe height="30px" width="1000px" scrolling="no" id="BottomFrame" name="BottomFrame"
                       frameborder="0" src="BottomMenu.aspx"> 
                    </iframe>
                </center>
            </ContentTemplate>
        </asp:UpdatePanel><%--85px--%>
        <div id="warning" style="display: none">
         
        </div>
    </div>
    </form>
</body>