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

ToolTip in a RadListView

2 Answers 106 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Jugoslav
Top achievements
Rank 1
Jugoslav asked on 06 Mar 2012, 02:27 AM
I would like to display a more info when you hover thumbnail image (products catalog). But for some reason it displays only the TITLE of the product instead the stuff defined there. e.g.

<asp:Image id="imgThumbnail" runat="server" ImageUrl="" />
<telerik:RadToolTip ID="RadToolTip1" runat="server"
                                            Title='<%# Eval("itemSKU") %>'
                                            TargetControlID="imgThumbnail" ToolTip=""
                                            RelativeTo="Element"
                                            Position="BottomRight"
                                            RenderInPageRoot="true"
                                            EnableShadow="true"
                                            Skin="Windows7"
                                            Animation="Fade"
                                            AutoCloseDelay="0"
                                            ShowEvent="OnMouseOver"
                                            HideEvent="LeaveTargetAndToolTip"
                                            ShowDelay="300"
                                            Width="350px"
                                            VisibleOnPageLoad="false">
                        <div style="padding: 10px;">
                            <b>Description:</b><%# Eval("itemDescription") %><br />
                            <b>Category:</b> <%# Eval("categoryName")%>
                            <br /><br />
                        </div>
                    </telerik:RadToolTip>

Am i missing something?
Thanks

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Mar 2012, 05:46 AM
Hello,

I tried the same in version 2012, 1, 215, 35 but no avail. Here is the sample code that i tried.
ASPX:
<asp:Image ID="imgThumbnail" runat="server" ImageUrl="~/Images/image.gif" />
<telerik:RadToolTip ID="RadToolTip1" runat="server" Title='<%# Eval("itemSKU") %>' TargetControlID="imgThumbnail" ToolTip="" RelativeTo="Element" Position="BottomRight" RenderInPageRoot="true" EnableShadow="true" Skin="Windows7" Animation="Fade" AutoCloseDelay="0" ShowEvent="OnMouseOver" HideEvent="LeaveTargetAndToolTip" ShowDelay="300" Width="350px" VisibleOnPageLoad="false">
 <div style="padding: 10px;">
  <b>Description:</b><%# Eval("itemDescription") %><br />
  <b>Category:</b> <%# Eval("categoryName")%>
  <br /><br />
 </div>
</telerik:RadToolTip>

Thanks,
Princy.
0
Jugoslav
Top achievements
Rank 1
answered on 06 Mar 2012, 08:37 AM
Thanks for replying. It is much appreciated. Actually what you tried? Did it work for you maybe? Sorry i do not understand what you've tried. This code is a part of listview and the description and category name do not come althrough they should come unless i miss how the tooltip in listview works :(
Please confirm that your example worked fine as part of listview control. Thank you again
Tags
ToolTip
Asked by
Jugoslav
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Jugoslav
Top achievements
Rank 1
Share this question
or