asp.net - Show popup from popup window
<p>In my asp.net application, one of the web page has a small popup(say PopUp1) containing a hyperlink. Now when user clicks this link, I need to open another popup(say PopUp2) but in Parent Window that hosts the origional PopUp1. Also, FYI, the PopUp2 that I want to show is currently a user control which I have declared in PopUp1.</p>

<p>If I call below script from PopUp1, </p>

<pre><code>PopUp2.cs

    public void ShowEmailPreviewPopup()
    {            
        ScriptManager.RegisterStartupScript(ctlEmailPreviewUpdatePanel,
                            ctlEmailPreviewUpdatePanel.GetType(),
                            "ShowEmailPreviewPopup",
                            "EmailPreviewPopup.Show();",
                            true);
        ctlEmailPreviewUpdatePanel.Update();
    }
</code></pre>

<p>it displays the user control in PopUp1 window, which I don't want.
How can I modify the script so that it opens PopUp2 in parent window of PopUp1?</p>

<p>Or any other ideas?</p>

<p>Thank you!</p>
