Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6767237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:55:37+00:00 2026-05-26T14:55:37+00:00

I am creating modal popup canvas window in a parent page. When I close

  • 0

I am creating modal popup canvas window in a parent page. When I close the popup how do we get notification in parent screen that child popup is just closed. Any event for that ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:55:38+00:00Added an answer on May 26, 2026 at 2:55 pm

    The code to show your popup:

    var popup:MyPopup = new popup:MyPopup();
    
    popup.addEventListener(CloseEvent.CLOSE, function(evt) { 
        PopUpManager.removePopUp(popup);
    });
    
    PopUpManager.addPopUp(popup, this, true);
    

    Inside your MyPopup class, you will have a button for closing the popup. Simply hook the click event to publish a “CLOSE” event:

    <s:Button Label="X" click="dispatchEvent(new CloseEvent(CloseEvent.CLOSE));" />
    

    I prefer this mechanism over having the MyPopup object calling PopUpManger.removePopUp (as @Fank is suggesting) because it couples the MyPopup component to the PopUpManager which I don’t like. I’d prefer the user of MyPopup to decide how to use the component.

    Honestly, though, these are two very similar mechanisms to perform the same end goal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a small modal form that is used in Winforms application. It
I am creating a dialog like in this page: http://jqueryui.com/demos/dialog/#modal-confirmation (click view source) on
I am creating a modal window using jquery. I am having an issue with
I am using modalbox for a modal window to submit forms that I learned
I'm creating a project in asp.net and I looking for Modal Window (like ajax
I'm creating a simple app that loads a modal view in the root view
I am creating a modal window using Twitter Bootstrap. The default behavior is if
Anyone have any experience creating a modal dialog box using AJAX and ASP.NET MVC?
I am creating a popup in query. All is well with the popup on
I am creating hotel booking system which requires lots of modal dialogs. For this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.