Base solution for your next web application
Open Closed

Embedding Powertool created component in modal popup #7362


User avatar
0
abrewer created

Hello,

I'm using ASP.Net Core and Angular.

I am attempting to make a master detail component for my business object called Company. A single company has a collection of Contacts associated.

I have modified the power tools generated company edit page, and have implmented the ngb tabset control, and put the company info on the first tab, and then created a second tab where I have inserted the power tools generated Contacts component.

The issue i am running into, is that when I attempt to create a new contact and click the "Create New Contact" button, it closes the Company Modal immediatley (it also fires a sweetalert indicating that it saved the company record.). Is there something that I need to change in reference to the modals to be able to launch a modal from a modal?

Thanks!


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @abrewer

    First of all, sorry for our late response. If you haven't solved this problem yet, you can check how we implement the linked accounts modal and adding a new linked user. Opening another modal from a modal doesn't have to behave like this.