2010-12-10 100 views

回答

3

你可以把一個元素的面板中,加載框架內的其他頁面,並與ModalPopupExtender像往常一樣擴展面板:

<asp:Panel ID="yourPanel" runat="server"> 
    <iframe src="yourOtherPage.aspx"></iframe> 
</asp:Panel> 
<asp:LinkButton ID="yourPopupButton" runat=server /> 
<ajaxToolkit:ModalPopupExtender ID="yourModalPopup" runat="server" 
    TargetControlID="yourPopupButton" PopupControlID="yourPanel" />