Tooltip not displaying content

3 posts, 0 answers
  1. Andrew Thompson
    Andrew Thompson avatar
    12 posts
    Member since:
    Apr 2005

    Posted 13 Dec 2007 Link to this post

    I created an image control and a tool tip control. The tooltip displays with the correct width and height, skin and title, but the actual content is empty. Am I missing something silly?

    <%

    @ Control Language="C#" AutoEventWireup="true" CodeFile="ImageSelectComboBox.ascx.cs" Inherits="UserControls_ImageSelectComboBox" %>

    <%

    @ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <

    asp:ScriptManager ID="ScriptManager1" runat="server">

    </

    asp:ScriptManager>

    <

    asp:Image ID="Image1" runat="server" Height="108px" Width="108px" />

    <

    br />

    <

    br />

    <

    telerik:RadToolTip ID="RadToolTip1" runat="server" Height="200px"

    ManualClose="True" Sticky="True" TargetControlID="Image1" Text="TitleBar" Width="200px">

    Content

    </telerik:RadToolTip>

  2. George
    Admin
    George avatar
    859 posts

    Posted 13 Dec 2007 Link to this post

    Hi Andrew,

    The observed problem is related to the RadToolTip's Text property behavior. When you set the ToolTip's Text property it overrides the ToolTip's content. That is why, in order to achieve the desired behavior, you must remove the text property from the ToolTip's declaration.

    I hope this helps.



    Kind regards,
    George
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Andrew Thompson
    Andrew Thompson avatar
    12 posts
    Member since:
    Apr 2005

    Posted 13 Dec 2007 Link to this post

    Thank you.
Back to Top