Tooltip foreground color

2 posts, 1 answers
  1. DuelingCats
    DuelingCats avatar
    54 posts
    Member since:
    Jul 2012

    Posted 26 Feb 2013 Link to this post

    I am using the Q3 2012 release of ASP.NET AJAX. The ForeColor property doesn't look like it is applying to my text. When I inspected the tooltip in chrome, it doesn't look like that color is being overridden by any of my styles. Is this property broken in the ToolTip control?

    Edit: I just tested CssClass and that isn't being applied to my text either.
  2. Answer
    Marin Bratanov
    Marin Bratanov avatar
    4438 posts

    Posted 27 Feb 2013 Link to this post


    The ForeColor is merely inherited from WebControl and is not implemented in RadToolTip. To change the default styling we place from our skins you need to use a CSS override, for example:
    .customTextColor .rtWrapperContent div
        color: Red;

    <telerik:RadToolTip ID="RadToolTip1" runat="server" VisibleOnPageLoad="true" AutoCloseDelay="0" CssClass="customTextColor"
        RelativeTo="BrowserWindow" Width="300px" Height="100px" Position="Center" Text="lorem ipsum dolor sit amet">

    The CssClass is applied to the root element of the popup, so you can examine the rendered HTML through the dev toolbar to see the classes that you wish to override.

    Kind regards,
    Marin Bratanov
    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