Hi ! Im searching for a solution of my problem. Ich have a simple table named job with foreign keys from category and customer. I woultd like to edit this structure by using a listvew. My template is looking like:
<script type="text/x-kendo-tmpl" id="jobtemplate">
<div class="job-view k-widget">
<div class="edit-buttons">
<a class="k-button k-button-icontext k-edit-button" href="\\#"><span class="k-icon k-edit"></span></a>
<a class="k-button k-button-icontext k-delete-button" href="\\#"><span class="k-icon k-delete"></span></a>
</div>
<dl>
<dt>Info</dt>
<dd>#:Info#</dd>
<dt>Job-Category</dt>
<dd>#:Category.Name#</dd>
<dt>Customer</dt>
<dd>#:Customer.Name#</dd>
.....
But when I click on the "add new Job"- button I will get the javscript error "Uncaught ReferenceError: Category is not defined". When I'm using the grid this is able to work, but not in Listview. What I'm doing wrong?
best regards Andreas Laffer