ToolTip in a RadListView

3 posts, 0 answers
  1. Jugoslav
    Jugoslav avatar
    64 posts
    Member since:
    Mar 2011

    Posted 05 Mar 2012 Link to this post

    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. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 Mar 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jugoslav
    Jugoslav avatar
    64 posts
    Member since:
    Mar 2011

    Posted 06 Mar 2012 Link to this post

    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
Back to Top