This is a migrated thread and some comments may be shown as answers.

Little anoying bug

3 Answers 50 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Julien
Top achievements
Rank 1
Julien asked on 07 Dec 2011, 09:12 AM
Hi,

I just saw a little bug on the tooltip on the demo website: http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx

When the tooltip is centered at the bottom, everything is fine:
http://dl.dropbox.com/u/368403/Telerik/TooltipBottom.png 

But, when we set the Tooltip Center top, this little image which "point" the source element, is inside the tooltip instead of outside:
http://dl.dropbox.com/u/368403/Telerik/TooltipTop.png

Thank you

3 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 08 Dec 2011, 01:11 PM
Hi Julien,

This happens because the RadFormDecorator adds a padding to the controls that are loaded inside the RadToolTip which ultimately increases its height to more than the one specified in its markup. This leads to the table holding the contents to overlap the div that holds the callout and is therefore only visible in the case where the callout is on the bottom of the tooltip (i.e. the three Top positions).

What needs to be done in this case is to simply take the padding into account when providing the size for the RadToolTipManager - i.e. Height="227px" instead of 220 as it is now. The same can be said about the width, so it should also be increased to 467px.

This means that this is not a bug in the control, but rather a scenario we have not noticed (and therefore not taken into account) when creating the demo's layout. This update will be applied live with our next upload and as a token of gratitude for helping us discover it I have updated your Telerik points.


Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Julien
Top achievements
Rank 1
answered on 08 Dec 2011, 01:33 PM
It's a bug in your demo then ;).

Like I said, I don't use it for now, but I have just noticed that it wasn't working properly in your demo
0
Marin Bratanov
Telerik team
answered on 09 Dec 2011, 12:58 PM
Hello Julien,

I agreed in my previous reply that this is an issue with the demo and I also noted that it will be fixed with our next upload. I also added the information that is required for the fix in this post so that it is available before it is actually live. We are grateful for your help in pointing us to it.


Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ToolTip
Asked by
Julien
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Julien
Top achievements
Rank 1
Share this question
or