Applying a tooltip to existing html

2 posts, 0 answers
  1. Ian
    Ian avatar
    73 posts
    Member since:
    Jun 2013

    Posted 25 Jul 2013 Link to this post

    I am converting an exisitng MVC web site and would rather not change much in the backend.

    The code generated Tooltip information like this:
      
    <a class="icon-help" data-popup="<img data-relpath='Content/images/AccountExample.jpg' class='pathFix' />" href="#">
         <img src="../../content/images/skin/bg/icon-help.png">
    </a>
    Notice that the content of the tooltip is in the "data-popup" attribute.

    Is there a way to tell the Kendo ToolTip to use the data-popup from the <a> as the content for all <a> on a page?








  2. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 29 Jul 2013 Link to this post

    Hi Ian,

    I suppose this forum thread is now obsolete, as it is closely related to the one here:

    http://www.kendoui.com/forums/framework/templates/conditional-template.aspx

    If not, please clarify your inquiry there, so that the discussion develops in one place.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top