This question is locked. New answers and comments are not allowed.
Hi all,
I am wanting to use a checkbox inside a telerik mvc grid.
Using the code below, the checkbox is always rendered read only; i don't know why!
I am wanting to use a checkbox inside a telerik mvc grid.
Using the code below, the checkbox is always rendered read only; i don't know why!
@{Html.Telerik().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(m => m.IsRequired)
.ClientTemplate("<input type='checkbox' name='IsRequired' value='<#= IsRequired #>' />")
.HtmlAttributes(new {style="text-align:center"})
.Title("")
.Width(20);
})
.DataBinding(dataBinding => dataBinding.Ajax().Select("IsRequired","Grid"))
.Pageable()
.Scrollable()
.Render();}
Any thoughts?
Thanks.