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

Tooltip not displaying content

2 Answers 60 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Andrew Thompson
Top achievements
Rank 1
Andrew Thompson asked on 13 Dec 2007, 03:32 PM
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 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 13 Dec 2007, 05:24 PM
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
0
Andrew Thompson
Top achievements
Rank 1
answered on 13 Dec 2007, 05:26 PM
Thank you.
Tags
ToolTip
Asked by
Andrew Thompson
Top achievements
Rank 1
Answers by
George
Telerik team
Andrew Thompson
Top achievements
Rank 1
Share this question
or