How to show the application aspx page in model pop up when click on the button.

Gani_tpt 1,566 Reputation points
2022-03-31T08:52:38.767+00:00

I am developing asp.net application.
I have two page like page1 and page2.

In page1, i have button. When i click the page1 button, it suppose to show the page2 in modal popup..

Is there any example to do like the above

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points
    2022-04-01T02:34:30.24+00:00

    Hi @Gani_tpt ,
    I agree that you use window.open(). The modal popup is same with window.open() to popup a new windows. I'm guessing that you don't want to create a new menu tab. You could try to do like this:
    188935-new-text-document.txt

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments