Little anoying bug

4 posts, 1 answers
  1. Julien
    Julien avatar
    236 posts
    Member since:
    Jul 2010

    Posted 07 Dec 2011 Link to this post

    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
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 08 Dec 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Julien
    Julien avatar
    236 posts
    Member since:
    Jul 2010

    Posted 08 Dec 2011 Link to this post

    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
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 09 Dec 2011 Link to this post

    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
Back to Top