look this:
columns.Bound(p => p.Lock).ClientTemplate("<input onclick='return false;' type='checkbox' #= Lock? checked='checked' : ' ' # />");
It's completely normal but I always get Invalid template
It's just happen with Hierarchy grid, and with normal grid it works fine.
<script id="LoadWeek" type="text/kendo-tmpl">
@(Html.Kendo().Grid<WorkingWeek>()
.Name("grid_#=Id#")
.Columns(columns =>
{
another column bound
columns.Bound(p => p.Lock).ClientTemplate("<input onclick='return false;' type='checkbox' #= datChuan ? checked='checked' :'' # />");
})
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(5)
.Read(read => read.Action("HierarchyBinding_Week", "WeeklyProgress", new { WorkingMonthId = "#=Id#" }))
)
.Pageable()
.Sortable()
.ToClientTemplate()
)
</script>