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

RadToolTipManager not showing the anchor tag title attribute value in FF/Chrome

3 Answers 86 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
VIJAY
Top achievements
Rank 1
VIJAY asked on 01 Jun 2012, 09:00 AM
Hi,

We have problem with RadToolTipManager, as it is not showing the title attribute value of anchor tag in FF/Chorme. But it has no problem in IE.

Could you please help us in this regard?

Our code is like this:
Code behind
ancNotes.InnerText = "....";
ancNotes.Title = Notes;
rtttooltip.TargetControls.Add(ancNotes.ClientID, true);

.aspx

<a id="ancNotes" runat="server"></a>
<telerik:RadToolTipManager ID="rtttooltip" runat="server" AnimationDuration="300"
ShowDelay="200" Width="480px" Height="227px" RelativeTo="Element" Animation="Slide"
Position="TopLeft" ManualClose="true" ContentScrolling="Y">
</telerik:RadToolTipManager>

3 Answers, 1 is accepted

Sort by
0
VIJAY
Top achievements
Rank 1
answered on 04 Jun 2012, 05:24 AM
Till now  I did not get any solution for this problem. please send the  solution as soon as possible.
0
Accepted
Marin Bratanov
Telerik team
answered on 05 Jun 2012, 12:04 PM
Hello Vijay,

This snippet seems to be working fine with me as you can see in the attached video. You can also compare your page with my sample that I am also attaching to find the major differences.

Also, are there any JavaScript errors on the page under chrome and firefox? I am asking this because this is a likely reason why some JavaScript function will not be executed. Can you confirm this is not the case here?

Generally, when adding a target control you would need to provide a mechanism for loading the content. You can, for example pass the wanted text to the Value of the tooltip and in OnClientSHow obtain it:
rtttooltip.TargetControls.Add(ancNotes.ClientID, "Notes", true);
and
function OnClientShow(sender, args)
{
    sender.set_text(sender.get_value());
}

You may also want to take a look at the Autotooltipify feature of the RadToolTipManager.



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.
0
VIJAY
Top achievements
Rank 1
answered on 06 Jun 2012, 01:30 PM
Hi Marin,
Thanks for the help.
We found that it was the issue with the content of tool tip, that contains some special characters and escape sequences, It is not showing the content in tooltip.

We decoded the content of tool tip on client side and setting into tooltip. Now it is showing it properly.
Tags
ToolTip
Asked by
VIJAY
Top achievements
Rank 1
Answers by
VIJAY
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or