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

How to open dialog in diagram control and how to include icons in the project?

Hello everybody,

I would like to know is it possible to open dialog in diagram component? What I am trying to do:  is to open dialog control on button click, button is located in the node. When dialog is open in this component I need to see all icons, when i select the icon this icon will be displayed in the button.

Is this possible and what is the best way to do this?  If you can provide me an example how to do this, I would be grateful.

Also, when I created the button in the diagram node everything is ok, but icon is not visible, it's not recognized?

I have tried all possibility to include icons into project (https://ej2.syncfusion.com/products/icons/index.html).
And some icons are not recognize (for example icon "ebb9" is not recognized

How to fix this?

In my index.html file I have included :
  <link rel='nofollow' rel='nofollow' href="//cdn.syncfusion.com/ej2/material.css" rel="stylesheet" />
  <link rel="stylesheet" rel='nofollow' rel='nofollow' href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Thank you,

3 Replies

SG Shyam G Syncfusion Team November 24, 2019 01:50 PM UTC

Hi Maja, 
We have created a sample in which we have shown how to open a dialog in diagram control. 

Here is a help documentation to add a icon in dialog buttons. 

Shyam G 

MM MM November 25, 2019 07:42 AM UTC

Thank you,

SG Shyam G Syncfusion Team November 25, 2019 09:46 AM UTC

Hi Maja, 
Thanks for your update. 
Shyam G 

Live Chat Icon For mobile
Up arrow icon