Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Open angular dialog from parent.ts
posted

Hi all,

Hope you can assist.

I am struggling to open a dialog called testDialog from the ngOnInit event on my mastercomponent.ts. The mastercomponent.ts is my master page that contains my igx-nav-drawer and  <router-outlet></router-outlet>

Can you please provide a sample? All the samples online has the button with the open method on the dialog which will not work in this instance.

Regards,

Roelof

Parents
  • 1320
    Verified Answer
    Offline posted

    Hello Roelof,

    While investigating your query further I found this thread in our forum, which I believe you might find helpful. There my colleague provides a working sample illustrating how the dialog`s API can be used to open it at a specific point.

    Please have a look at the suggestion and let me know if you need any further assistance with this matter.

    Regards,
    Monika Kirkova,
    Infragistics

Reply Children