【问题标题】:ajax popup extender with aspx page inside iframe inside panelajax 弹出扩展器与面板内 iframe 内的 aspx 页面
【发布时间】:2013-09-02 11:17:03
【问题描述】:

我正在尝试使用 ajaxpopupextender 实现弹出式登录屏幕。

是否可以使用 aspx 页面(即登录页面)在使用 iframe 的面板中显示?

在面板内使用页面而不是用户控件有什么好处吗?两者都加载到父 page_load 上吗?考虑更快的页面加载请建议使用哪种方法?

【问题讨论】:

    标签: ajax modalpopupextender


    【解决方案1】:

    试试这个方法

     <asp:Panel ID="pnlPopUp" Style="display: none ;padding:3px;" runat="server"  >
    
     //Test.aspx page is a page which you want to show as a popup
    
        <iframe id="frame1" src="Test.aspx" style="overflow: auto;height:200px; width:                 100%;" scrolling="auto"></iframe>
      </asp:Panel>
    
            <asp:ModalPopupExtender ID="mdlPopup" Y="50" runat="server" BehaviorID="mpe" TargetControlID="btnShowPopup" PopupControlID="pnlPopUp" BackgroundCssClass="bModal">
             </asp:ModalPopupExtender>
    

    【讨论】:

      猜你喜欢
      • 2011-02-05
      • 2013-08-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-30
      • 1970-01-01
      • 2013-01-18
      • 1970-01-01
      相关资源
      最近更新 更多