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

Tooltips in a DataList

9 Answers 139 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
blara
Top achievements
Rank 1
blara asked on 28 Mar 2008, 09:09 PM

Hello:

Inside a DataList ItemTemplate, I have defined a tooltip. The purpose is to display a larger image on mouse over to thumbnail. Here is the code snippet:

<ItemTemplate>    
.     
<asp:Image ID="thumbnail" ImageUrl='<%# Eval("ThumbnailUrl") %>' runat="server" />    
<telerik:RadToolTip ID="thumbnailTooltip" runat="server" TargetControlID="thumbnail" relativeTo="Element" Position="MiddleRight">     
     <asp:Image ID="tooltipImage" ImageUrl='<%# Eval("ThumbnailTooltipUrl") %>' runat="server" />    
</telerik:RadToolTip>    
.     
</ItemTemplate>  

However, when the page renders, the tooltip is displayed only for the first row of the DataList. I looked at the sample at http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/BindToTarget/DefaultCS.aspx and my implementation looks the same. Could you please explain why I see the tooltip only for the first row and how should I fix the issue? Thanks.

9 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 01 Apr 2008, 12:21 PM
Hello blara,

I tested your code and it works as expected. Please, find my test project in the attached archive file and examine it.

In case you still experience problems, open a new support ticket and send us your project or a sample one which reproduces the problem. Once we are able to localize the problem we will do our best to help you.  

Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
blara
Top achievements
Rank 1
answered on 01 Apr 2008, 02:59 PM

Thanks for your response Svetlina!

I am still seeing the same behavior. Befor I send the sample project, I wanted to check if either of these 2 scenarios could cause the issue:

1. The DataList is inside an UpdatePanel,
2. I am using the 2007.2.1010.0 version of Prometheus.

Also, occassionally, I see this JavaScript error message:

Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_MainContent_dlToolbox_ctl00_thumbnailTooltip' can't be added to the application.

 Thanks for your help,

0
blara
Top achievements
Rank 1
answered on 01 Apr 2008, 08:59 PM

Update: Upgrading Telerik.web.UI.dll to 2007.3.1425.20 version resolves the issue.

Thanks.
0
Wayne
Top achievements
Rank 1
answered on 08 Jun 2009, 07:03 PM
Hi I am experiencing the exact same problem with a radtooltip from within a datalist.
"when the page renders, the tooltip is displayed only for the first row of the DataList" as stated by blara.

I am using the 2007.1.626 version of Prometheus which is the last available build version I can download when logged into telerik website.

How can I get hold of version 2007.3.1425.20?  If this is a bug then I need a fix for the version I purchased.

0
Wayne
Top achievements
Rank 1
answered on 09 Jun 2009, 08:05 AM
This must be a bug in the version I have as I have just tried the radtooltip within a gridview control and the same thing happens.
Just the first item has a tool tip all following rows have no tool tip :(

Urgent action would be very helpful as I am trying to complete a project which uses this radcontrol. 

P.S. as my support period has ended I cannot submit a new ticket for this but the item is obviously faulty and needs fixing.
0
Svetlina Anati
Telerik team
answered on 09 Jun 2009, 02:40 PM
Hello Wayne,

I converted your other thread into a GF one in order to make you able to attach a sample, fully runnable reproduction demo here because you are currently not able to open support tickets and you cannot attach files in forum threads. Please, send us the demo along with detailed reproduction steps and explanations of the exact actual and desired behavior and I will examine it and determine whether it is related to the discussed bug or to some configurations and I will help you resolve the problem.

Regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Wayne
Top achievements
Rank 1
answered on 09 Jun 2009, 02:51 PM
Hi Svetlina
Thank you for your action, I have replied to the newly opened support ticket with a fully working demo and desired action comments as requested.

Thanks
Wayne
0
Wayne
Top achievements
Rank 1
answered on 11 Jun 2009, 06:50 AM
Any idea when this is scheduled to be looked at by support?
I have had no contact of any sort since sending all the details requested.

Sorry to ask but this is getting very urgent.
0
Svetlina Anati
Telerik team
answered on 11 Jun 2009, 12:38 PM
Hi Wayne,

I understand that you are in a hurry and I prepared a sample demo which is based on your configuration and attached it there. i also recommend to examine our support packages offers which guarantee a faster response:

http://www.telerik.com/support/technical-support-options.aspx

In case you have questions about subscriptions to our support packages, please contact us at sales@telerik.com.


Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
blara
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
blara
Top achievements
Rank 1
Wayne
Top achievements
Rank 1
Share this question
or