This is a migrated thread and some comments may be shown as answers.

Simple FOR loop is failing. Strange formatting error.

1 Answer 6 Views
Templates
This is a migrated thread and some comments may be shown as answers.
GreenSlate
Top achievements
Rank 1
GreenSlate asked on 18 May 2015, 10:57 PM
The picture says it all. I took a screenshot of the debugger so you can see the source template value, the resulting calculated JS, and the exception being thrown. This makes no sense to me. It's a very simple for loop. It's taken almost exactly from the examples in the documentation. I have spent over an hour trying various adjustments and this seems like a bug. What's going on?

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 19 May 2015, 07:31 AM
Hello,

you are missing the opening { of the for loop.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Templates
Asked by
GreenSlate
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or