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

AutoSize HTML-rendered tooltip

Thread ID:





117051 Jul 29,2014 12:53 PM UTC Aug 5,2014 01:05 PM UTC WinForms 3
Tags: SuperToolTip
Soeren Kuklau
Asked On July 29, 2014 12:53 PM UTC


when setting a tooltip's Body's RenderHtml property to True, I apparently have to set the Body's Size manually to fit. However, I'm not sure how to know in advance what size to set it to, since I can't know how much screen estate the rendered markup will take up.

Is there a way to auto-size the Body?

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

Hi Soeren, 

Thank you for using Syncfusion products, 

We would like to let you know that currently SuperToolTip don’t have the support to autosize its width and height. We can set the width of the table to fit according to the width of the tooltip. We have prepared a sample for your reference and it is attached below. 

Please let us know if you need further assistance, 


R.Senthil kumaran.


Attachment: ToolTip2_f115a5fe.zip

Soeren Kuklau
Replied On August 4, 2014 12:42 PM UTC


I've altered your example to explain my goal and added two screenshots to the zip file. I'm fine with a static width (400 pixels in this example), but I appear to have no way of predicting or measuring the height (100 pixels in this example). If there's too little text, its vertical alignment is unbalanced (see first screenshot). If there's too much text, some of it gets cut off (see second screenshot).

Is there any way I can get the rendered height or coordinates of the table?



Attachment: ToolTipAutoSize_v2_cfa86c36.zip

Senthil Kumaran Rajan [Syncfusion]
Replied On August 5, 2014 01:05 PM 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. We can render the height of the table by using below code snippet. We have prepared a sample for your reference and it is attached below.


Code Snippet[C#]:

<html style="height: 100%;">

<body style="height: 100%;">

<table style=”height:100%;”>


Please let us know if you need further assistance,



R.Senthil kumaran. 

Attachment: ToolTipAutoSize_7b6131e6.zip


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