Our templates by default use a with
statement, which extends the scope chain of the model.
The purpose of this approach is to reference the model properties directly and more easily.
You can try setting useWithBlock
, as described at
If controlling how the template is created is not possible, another (even easier) option is to use window.
Date() instead of just Date().
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI