How to reproduce.
Have a Grid setup,
Use Template like this.
.Editable(e => e.Mode(GridEditMode.PopUp).TemplateName("Example"))
Inside Example TemplateGet something like this to the bottom of the page other than your normal input:
<script> $(document).ready(function () { setTimeout(function () { // comments that will cause problem if ($("#hideClassId").val() > 0) { $("#tClassId").hide(); $("#tClass").show(); } }); }); // comments that can cause problem $("input#IsActive").on('change', function () { $('#ActiveWaiting').prop('checked', false); }); // comments that can cause problem $('#ActiveWaiting').on('change', function () { $("input#IsActive").prop('checked', false); });</script>
Then the popup would freeze.This is what the error would look like in the console.Uncaught SyntaxError: Unexpected end of input at eval (<anonymous>) at Function.globalEval (https://kendo.cdn.telerik.com/2017.1.223/js/jquery.min.js:2:2662) at Ha (https://kendo.cdn.telerik.com/2017.1.223/js/jquery.min.js:3:21262) at n.fn.init.append (https://kendo.cdn.telerik.com/2017.1.223/js/jquery.min.js:3:22791) at M.fn.init.n.fn.(anonymous function) [as appendTo] (https://kendo.cdn.telerik.com/2017.1.223/js/jquery.min.js:3:24510) at init._createPopupEditor (https://kendo.cdn.telerik.com/2017.1.223/js/kendo.all.min.js:49:21766) at init.editRow (https://kendo.cdn.telerik.com/2017.1.223/js/kendo.all.min.js:49:19002) at init.addRow (https://kendo.cdn.telerik.com/2017.1.223/js/kendo.all.min.js:49:26820) at HTMLAnchorElement.<anonymous> (https://kendo.cdn.telerik.com/2017.1.223/js/kendo.all.min.js:49:27635)