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.

AutoSize HTML-rendered tooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

117051 Jul 29,2014 08:53 AM Aug 5,2014 09:05 AM Windows Forms 3
loading
Tags: SuperToolTip
Soeren Kuklau
Asked On July 29, 2014 08:53 AM

Hi,

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 12:04 AM

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, 

Regards,

R.Senthil kumaran.

 


Attachment: ToolTip2_f115a5fe.zip

Soeren Kuklau
Replied On August 4, 2014 08:42 AM

Hi,


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?


Thanks,

Sören


Attachment: ToolTipAutoSize_v2_cfa86c36.zip

Senthil Kumaran Rajan [Syncfusion]
Replied On August 5, 2014 09:05 AM

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,

 

Regards,

R.Senthil kumaran. 


Attachment: ToolTipAutoSize_7b6131e6.zip

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.

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.

;