<script id="detail-template" type="text/x-kendo-template">
<div class='shipping-details'>
<ul>
<li><label>Applied:</label>kendo.toString(#= Applied #, "MM-dd-yyyy" )</li>
</ul>
</div>
</script>
I have a DateTime field in my model which I want to format. How do you do this in 'UI for ASP.NET MVC' and how do you format kendo # variables in general?
'kendo.' is not recognized in the "text/x-kendo-template", #= Applied # is and displays the full DateTime.