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

Applying a tooltip to existing html

1 Answer 35 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 2
Ian asked on 25 Jul 2013, 08:53 PM
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?








1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Jul 2013, 07:23 AM
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!
Tags
ToolTip
Asked by
Ian
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or