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

Tooltip and an area tag

1 Answer 69 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
IrishManInUSA asked on 09 Jul 2010, 03:04 PM
I have the following map tag on my page

<map name="mapWeeklyDeal">
<area shape="RECT" coords="773,55,902,84" href="" title="WHATS THE DEAL?" id="amWhatTheDeal">
<area shape="RECT" coords="660,52,764,87" href="SOMELINK"
target="_blank" title="Become a Fan of Baudville!">
<area shape="RECT" coords="549,54,645,88" href="SOMELINK" target="_blank"
title="Join Us on Twitter!">

What I would like to do is attach the tooltip to WHATS THE DEAL area tag and not exactly sure how to make this work, I have tried setting my tag like so

<rad:RadToolTip ID="radCustomInfoTT" runat="server" TargetControlID="amWhatTheDeal"
IsClientID="true" Sticky="true" Visible="false" AutoCloseDelay="1000" Animation="none"
Position="TopLeft" RelativeTo="Element" OffsetY="2" Height="240px" Width="400px"
Skin="Default" HideDelay="100" Title="Add Your Logo - Custom Information">
<asp:Literal ID="ltrWhatsTheDeal" runat="server"></asp:Literal>


I even tried to add the onmouseover event to the area tag in question, but then I couldn't find any code that will allow me to bring up the tooltip. So any help on this would be appreciated.







1 Answer, 1 is accepted

Sort by
Svetlina Anati
Telerik team
answered on 14 Jul 2010, 02:59 PM
Hi IrishManInUSA,

If you want to display opnly simple static content in teh tooltip I suggest to simply set the title attribute as you have done and to put a RadToolTipManager with AutoToolTipify set ti true as shown in the demo below:

If your scenario is more complex you can use the approaches shown in the demos below:

On a side note, when you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

You can open the demos from here:

Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

The actual location on your hard disk is the following one:

C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

I hope that this information is helpful.

the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question