I have a listview that was filling fine until I changed the template to include and <a href="jj"> tag. If I remove the href the listview fills. Is this a bug or is there a workaround?
Sample Code:
The following works and fills the listview as expected:
<script id="department_template" type="text/x-kendo-tmpl">
<li><a onclick="GetCategoriesFor('${Value}')">${Value}</a></li>
</script>
If however I add an href (this is the ONLY change made in the page) it fails to fill the listview
<script id="department_template" type="text/x-kendo-tmpl">
<li><a href="#categories" onclick="GetCategoriesFor('${Value}')">${Value}</a></li>
</script>
Sample Code:
The following works and fills the listview as expected:
<script id="department_template" type="text/x-kendo-tmpl">
<li><a onclick="GetCategoriesFor('${Value}')">${Value}</a></li>
</script>
If however I add an href (this is the ONLY change made in the page) it fails to fill the listview
<script id="department_template" type="text/x-kendo-tmpl">
<li><a href="#categories" onclick="GetCategoriesFor('${Value}')">${Value}</a></li>
</script>