In my Tool Tip Target I specify if the type is an image or not:
In my ToolTip template I need to show the image if data-type="image" otherwise just the text in data-popup.
The problem is that the tool tip is always empty. If I just replace the entire template with #=target.data('popup')# the text appears so I know the tool tip is working.
<a data-type="image" data-popup="AccountExample.jpg" href="#" data-role="tooltip">Blah Blah</a>In my ToolTip template I need to show the image if data-type="image" otherwise just the text in data-popup.
The problem is that the tool tip is always empty. If I just replace the entire template with #=target.data('popup')# the text appears so I know the tool tip is working.
<script id="pop-template" type="text/x-kendo-template"> #if(target.data('type')=='image'){# <img src='@Url.Content("~/Content/images/")#=target.data('popup')#'> #}else{# #=target.data('popup')# #}#</script>