jquery - Kendo UI Tooltip issue -


i using kendo ui mvc asp.net tooltip control show formatted data. instead of showing data along formatting, tooltip showing html code.

tootip image

using below code segment show tooltip

tolltip('#calendar table tbody', "#timetemplate", 'td a.acurrent', "top");

function tolltip(target, template, filter, position) { $(target).kendotooltip({     filter: filter,     content: kendo.template($(template).html()),     position: position }); 

}

on view i'm using following script snippet.

<script id="timetemplate" type="text/x-kendo-template">             #if (target.data('title') != null) {#             <p>             #:target.data('title')#             </p>             #}# </script> 

what missing in code?

function tolltip(target, template, filter, position) {     $(target).kendotooltip({         filter: filter,         content: function(e) { kendo.template($(template).html())(e) } ,         position: position     }); } 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -