您好我想在剑道调度程序事件模板中添加一个剑道工具提示。每当我添加任何 Html 帮助程序时,它都会引发无效的模板错误。我可能会遗漏一些语法。任何人都可以建议这样做的方法吗?
d.EventTemplate(
"<div style='height: auto !important;'>"+
"#=kendo.toString(start,'hh:mm')# #= kendo.toString(start,'tt')# @"+
"<span style='font-size:smaller'>#= PickStopName# </span> " +
"#@(Html.Kendo().Tooltip().For('#Scheduler').Width(250)"+
".Content('# <div style='text-align:justify;'>" +
"<div>" +
"<h6> #= title# </h6>" +
"<h6> #= description# </h6>" +
"<h4> #= kendo.toString(start,'hh:mm')# </h4>" +
"</div>" +
"</div>)'#)#"+
"</div>"
);