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

Box Custom ToolTip

1 Answer 47 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Raul
Top achievements
Rank 1
Raul asked on 08 Apr 2011, 02:14 PM
Hello guys

How do I get the tooltip box that appears on an outline of the message or image in the tooltip? Below is an example that I used but no box appears, just a background image.

<telerik:RadTextBox ID="RadTextBox" runat="server" Width="196px"  Skin="Office2007">
             <ClientEvents OnValueChanged="ValueChanged" />                             
</telerik:RadTextBox>

<telerik:RadToolTip runat="server" ID="RadToolTip2" RelativeTo="Element" Width="390px"  Height="70px"  TargetControlID="RadTextBox"  Animation="Fade" EnableShadow="true" CssClass="tooltip">
 <img src="../Imgs/ToolTip.png" alt="&nbsp;" /
</telerik:RadToolTip>

thanks for now

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Apr 2011, 11:15 AM

Hi Raul,

This is most likely due to the custom CSS class you have applied and specifically the div.RadToolTip table.rtWrapper td.rtWrapperContent class.Please refer to the following help article for the RadToolTip classes: http://www.telerik.com/help/aspnet-ajax/tooltip-appearance-css-selectors.html.

If you like you can modify the container appearance dynamically by attaching to the OnClientBeforeShow event:

function OnClientBeforeShow(sender, args)
        {
            var container = sender.get_contentElement();
            container.style.border = "5px solid green";
        }



Greetings,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
ToolTip
Asked by
Raul
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or