How to Show model popup within another Model popup

Last post 07-06-2009 12:00 AM by Zong-Qing Li - MSFT. 1 replies.

Sort Posts:

  • How to Show model popup within another Model popup

    07-03-2009, 6:10 AM
    • Member
      14 point Member
    • harshalasith
    • Member since 08-19-2008, 11:50 AM
    • Posts 77

    Hi all,

     I have problem using Ajax Model popup Extender.i have used one Model popup and in this model popup has button. when i click the button it's open another Model popup window at first time.but second time when i clicking this button the second model popup window not open. therefor i have to close application and reopen and click button.then open model popup window.please tell me how i open second popup window at every time when clicking button in the first model popup.


    Thanks in Advance,

    Harsha


  • Re: How to Show model popup within another Model popup

    07-06-2009, 12:00 AM
    Answer

    Hi,

    Based on my test, I can't reproduce your issue. So I suggest to try to run the following code to open model popup which is inside another one.

            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:Button ID="Button1" runat="server" Text="open first modalpop" />
            <asp:Panel ID="Panel1" runat="server" BackColor="#CCFFFF" Height="323px" Width="743px">
                <asp:Button ID="Button2" runat="server" Text="open other modal" />
                <asp:Button ID="Button3" runat="server" Text="cancel" />
                <asp:Panel ID="Panel2" runat="server" BackColor="#FF3300" Height="194px" Width="430px">
                    <asp:Button ID="Button4" runat="server" Text="cancel" />
                </asp:Panel>
                <cc1:ModalPopupExtender ID="ModalPopupExtender2" TargetControlID="Button2" CancelControlID="Button4"
                    PopupControlID="Panel2" runat="server">
                </cc1:ModalPopupExtender>
            </asp:Panel>
            <cc1:ModalPopupExtender ID="ModalPopupExtender1" TargetControlID="Button1" CancelControlID="Button3"
                PopupControlID="Panel1" runat="server">
            </cc1:ModalPopupExtender>

     

    If it still not work, please post the code here.

     

    Sincerely,
    Zong-Qing Li
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
Page 1 of 1 (2 items)
Microsoft Communities