<span data-format="dd MMM yyyy" data-bind="text: Created"></span>
Spits out (as text inside the span)...
Fri Aug 01 2014 01:00:00 GMT+0100 (GMT Daylight Time)
Whereas ...
<input class="k-input" data-bind="value: Created" data-format="dd MMM yyyy" data-role="datepicker">
Spits out "01 Aug 2014" in the editable field.
Feedback from telerik: "span doesn't have data-format support".
Databinding telerik obervables to templates appears to be working in a completely different way to binding to telerik controls, this is confusing and causes a lot of frustration.
var model = { any js object };
var component = $("anything");
kendo.bind(component, model);
This should result in the same output no matter what model is (datasource, observable, flat js object).
Using:
$("selector").kendoControl({ options });
should behave the same as:
<div id="myThing" data-bind=" options " />
kendo.bind($("myThing"), model);