or
<
script
>
$(document).ready(function () {
var genderCollection = [{ description: "Guy", value: "Male" }, { description: "Girl", value: "Female"}];
var genderElement = $("#gender");
$(genderElement).width(($("#fname").width() + 2));
$(genderElement).css("margin-left", "-2px");
$("#gender").kendoComboBox({ dataValueField: "value", dataTextField: "description" });
var viewModel = kendo.observable({
firstName: "John",
lastName: "Doe",
genders: genderCollection,
gender: "Male",
agreed: false,
confirmed: false,
register: function (e) {
e.preventDefault();
this.set("confirmed", true);
},
startOver: function () {
this.set("confirmed", false);
this.set("agreed", false);
this.set("gender", "Male");
this.set("firstName", "John");
this.set("lastName", "Doe");
}
});
kendo.bind($("#example"), viewModel);
});
</
script
>
$("#top3").kendoListView({
dataSource: dataSourceCustomers,
template: kendo.template($("#top3template").html())
});
<
script
type
=
"text/x-kendo-tmpl"
id
=
"top3template"
>
<
div
class
=
"top3item"
>
<
dl
class
=
"subtitle"
>
<
dt
><
b
>${CustomerName}</
b
></
dt
>
<
dd
>${kendo.toString(Value, "c")}</
dd
>
</
dl
>
</
div
>
</
script
>
columns.Bound(r => r.Approved)
.ClientTemplate(" <input type='radio' id='Approve' name='chkApprove' /><input type='radio' id='Deny' name='chkDeny' />")
Title("Approve");
But the radion buttons show up as a single checkbox control. Can anyone help me with this?