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.
Unfortunately, activation email could not send to your email. Please try again.

Add a icon in a roundrect node

Thread ID:





91626 Nov 25,2009 12:56 PM Apr 29,2010 08:33 AM ASP.NET Web Forms (Classic) 9
Tags: DiagramWebControl
Alberto Munoz
Asked On November 25, 2009 12:56 PM


I have a RoundRect node with a text and I want to add a icon.

I do not know do this. Can you help me?


Dinesh M [Syncfusion]
Replied On November 26, 2009 11:37 AM

Hi Alberto,

There are no direct ways available to achieve this requirement and hence we need to achieve this by customizing the label class. I will prepare a sample for this and update you in 2 business days.

Thank you for your patience.


Alberto Munoz
Replied On December 21, 2009 10:46 AM


can you prepare the example?
I need add an icon in a rounrect node.


Dinesh M [Syncfusion]
Replied On December 22, 2009 07:55 AM

Hi Alberto,

Please check the following sample in which we have customized the label control to have a icon in it.



Alberto Munoz
Replied On December 22, 2009 11:40 AM

It's working ok. Now I can add icons in a roundrect.

My question now is, can I do something to execute a javascript function when the user click on the icon?


Dinesh M [Syncfusion]
Replied On December 28, 2009 06:16 AM

Hi Alberto,

It is not possible to call a javascript function on clicking the icon that you have created by customizing the label, however you can use OnClientNodeClick event to call javascript function on node click.

For further details about client side events please refer to the following online document.



Ivan Mitev
Replied On February 19, 2010 05:35 AM

I am having the same question, but the link http://help.syncfusion.com/support/Diagram.Windows/KB/LabelIcons/main.htm does not see to be working any more.

Could you please, re-post the sample?

Dinesh M [Syncfusion]
Replied On February 22, 2010 09:58 AM

Hi Ivan,

We have fixed this broken link and now you can access the sample from it.


Dimitri Karypov
Replied On April 22, 2010 08:12 AM

the link http://help.syncfusion.com/support/Diagram.Windows/KB/LabelIcons/main.htm does not see to be working any more. And I have the same question. Is it also possible for other shapes?
I want to use Essential Diagram for my Project, but with my own icons (.png) "instead of" or "combined" with other elements.


Melba Winshia [Syncfusion]
Replied On April 29, 2010 08:33 AM

Hi Dimitri,

We regret for the inconvenience caused.

Please download the file from the following link:


You can use your own icons in the customized label control.

Please let me know if you have any other queries.



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.

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.