Hello,
I created a jsFiddle demo which shows the difference in the generated code:
By default a with(data) block is created which allows the developer to use only the field name in the template expressions: "#= foo# instead of "#= data.foo#". The with block removes the hassle to type in "data." every time but would cause a performance decrease if the template is used a lot (a few hundred times).
Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!