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

Multiple modals on same page

Thread ID:





145137 Jun 8,2019 10:22 PM UTC Jun 11,2019 04:27 AM UTC Blazor 3
Tags: Dialog
Ivan Petrov
Asked On June 8, 2019 10:22 PM UTC


When having two buttons where each opens a modal. The first modal is opened regardless of which of the two buttons is pressed. The modal references are:
EjsDialog dialogObj;
EjsDialog secondDialogObj;

However, when performing this.secondDialogObj.Show() the first modal is opened.

Buvana Sathasivam [Syncfusion]
Replied On June 10, 2019 10:24 AM UTC

Hi Ivan, 

Thanks for using Syncfusion Products. 

We have checked your reported issue.  But, unfortunately we were unable to reproduce your reported issue.  The different modal dialog is opened properly when clicked on different buttons.  Please find the below sample for your reference. 

In above sample, we have created two buttons.  We have opened the different modal dialog when press the different buttons. 

If still issue persist, can you please share your full page code or reproduce your issue on above shared sample.  

Buvana S 

Ivan Petrov
Replied On June 10, 2019 11:02 AM UTC

Yes, it works. However, I managed to find a work-around in my case and cannot therefore see what the problem was. Thank you for the reply! :)

Buvana Sathasivam [Syncfusion]
Replied On June 11, 2019 04:27 AM UTC

Hi Ivan, 
Thanks for the update.  We are glad to hear that the issue was resolved.  
Please let us know if you need any further assistance.  
Buvana S  


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