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.
Syncfusion Feedback

Images in HTML-rendered tooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

117052 Jul 29,2014 12:58 PM UTC Jul 31,2014 08:56 AM UTC Windows Forms 4
loading
Tags: SuperToolTip
Soeren Kuklau
Asked On July 29, 2014 12:58 PM UTC

Hi,

when setting a tooltip's Body's RenderHtml property to True, I can add img elements, but they don't get rendered. For instance, with the Text property set to:

<p><img src="http://upload.wikimedia.org/wikipedia/sr/3/34/HTML5_Logo_256.png"/>Test</p>

, I can see the text, but not the image.

The Image, ImageAlign, etc. properties won't do the trick for me, as I need more customizability than that.

Senthil Kumaran Rajan [Syncfusion]
Replied On July 30, 2014 12:54 PM UTC

Hi Soeren, 

Thank you for using Syncfusion products, 

We would like to let you know that currently in supertooltip the <img> tag don’t have the support to load the image directly from the website. But the image in the local system can be displayed. We have prepared a sample for your reference and it is attached below. 

Please let us know if you need further assistance, 

Regards,

R.Senthil kumaran.


Attachment: ToolTipAutoSize_f15167da.zip

Soeren Kuklau
Replied On July 30, 2014 01:07 PM UTC

Hi Senthil,

that works great, thanks!

Any chance you'll implement support for base64 data URIs? E.g.:

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2UlEQVR4nM3SoU4DQRDG8V+pagIPAVVgKngEFKoJAoVpHekjYAkOieVVyAlwPAkYFIGjvYrbTYZjr8XBJJts9pvvP7szy3+IfTzgE03P+sJNyp/iMAIqLDDcUGQnrasEfMNxFust5hzXnVudZaEJSWOMCubbYFzhMooZcIoPPGE3nQ1wF8xLzLv0DHgMiRX2cO97Iy9Kb8uACV6D4SXsa5yXzBFQgjTpWdOkV9sAXci7tjd9uSiPcaLtyUk4G2gn8CN+85GGmOG5JB4kSK3/K9fa8R5tKPJHsQbLsUs5YHl7SQAAAABJRU5ErkJggg==">


That way, I could keep some images in memory and avoid storing them as temporary files.


Regards,

Sören


Senthil Kumaran Rajan [Syncfusion]
Replied On July 31, 2014 05:36 AM UTC

Hi Soeren, 

Thank you for your update, 

We would like to let you know that currently there is no support for your requirement in SuperToolTip. We have considered this requirement as future report. And We will implement this feature in any of our upcoming releases. 

Please let us know if you need further assistance, 

Regards,

R.Senthil kumaran.


Soeren Kuklau
Replied On July 31, 2014 08:56 AM UTC

Great, thanks!

CONFIRMATION

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.

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

;