We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Open Dialog by passing a custom component

Thread ID:





151185 Feb 3,2020 10:00 AM UTC Feb 4,2020 03:25 PM UTC Angular - EJ 2 1
Tags: Dialog
Ankit Pathak
Asked On February 3, 2020 10:00 AM UTC


I want to use ejs Dialog in my Angular 8 project.

Currently I am using NgbModal.

My requirement is I want to pass dynamic components to dialog through TS and also return args after closure of dialog.

for example : this.dialog.show(myCustomComponent, injector) and this.dialog.close(args).

Is this feature available with syncfusion dialog ?

Best Regards,
Ankit Pathak

Indrajith Srinivasan [Syncfusion]
Replied On February 4, 2020 03:25 PM UTC

Hi Ankit, 
Greetings from Syncfusion support, 
We have validated your reported query, ejs-dialog doesn’t have support for passing arguments in the Show method for creating a component and returning some values during the Dialog Close. Instead you can render the Dialog with minimal configuration using the Dialog Utility. 
Can you please check the above suggestion and let us know if you need any further assistance on this. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon