I have a external popup tempate that is called from a button on the grid.
<div class="k-content popup-content">
<text><input data-bind="value: Service.Name" /></text>
@foreach (var item in Model.Service.ServiceAdditionalData)
When I run the page it fails to load the Kendo Grid and I get the jscript error "Unexpected "</body>" or end of file. All open elements should be closed before the end of the document." This happens with any reference to the Model.
There is nothing wrong with the data provided to the grid. It has the collection I want to iterate through. The intellisense for Model.Service.ServiceAdditionalData all works.
Am I not supposed to use 'Foreach with Kendo or reference the model in this way. Should I use some other method to iterate through the collection and reference the data.