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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom images in Buttons / RibbonBar buttons

Thread ID:





128553 Jan 28,2017 02:09 PM UTC Jan 30,2017 12:54 PM UTC JavaScript 1
Tags: ejButton
Michael Salzlechner
Asked On January 28, 2017 02:09 PM UTC

Cant find anything in the documentation on using custom images on a button

do you have a simple example on how to use an existing image (PNG or JPG) on a button?


Prem Kumar Madhan Raj [Syncfusion]
Replied On January 30, 2017 12:54 PM UTC

Hi Michael,   
Thanks for contacting Syncfusion support.   
We have analyzed your requirement for adding an existing image in a button. To use an external image inside Button control, you could use the PrefixIcon or SuffixIcon APIs available in button Plugin.   
For your convenience, we have created a simple sample based on your requirement.    
Sample link: Button_image_Sample    
Please get back to us if you have any further assistance.   
Prem Kumar Madhan Raj.   


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

or the page will be automatically redirected to 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