or
<button onclick="LoadPerson1()">Load User 1</button><button onclick="LoadPerson2()">Load User 2</button><div id="grid"></div><script> var personModel var grid; $(function () { personModel = { user: { ObjectId: "", PrincipalName: "", Userinfos: [] } }; grid = $("#grid").kendoGrid({ toolbar: [ { name: "create" }, { name: "save" }, { name: "cancel" } ], columns: [ { field: "Key" }, { field: "Value" } ], dataSource: personModel.user.Userinfos, editable: true }).data("kendoGrid"); }); function LoadPerson1() { $.ajax({ cache: false, type: "post", dataType: "json", url: "Home/GetUser", success: function (data) { personModel.user.ObjectId = data.ObjectId; personModel.user.PrincipalName = data.PrincipalName; personModel.user.Userinfos = data.Userinfos; grid.dataSource.data(personModel.user.Userinfos); grid.dataSource.read(); } }); } function LoadPerson2() { $.ajax({ cache: false, type: "post", dataType: "json", url: "Home/GetUser2", success: function (data) { personModel.user.ObjectId = data.ObjectId; personModel.user.PrincipalName = data.PrincipalName; personModel.user.Userinfos = data.Userinfos; } }); }</script>
above sentences are my all code. The pic I attach is data in personModel.user.UserInfos

$("#testWizard").kendoValidator({ rules: { radio: function (input) {
//if type radio and required attribute on the input if (input.is("[type=radio]") && input.attr("required")) {
//check if any radio button is selected from the radio button group return $("#testWizard").find("[name=" + input.attr("name") + "]").is(":checked"); } return true; } }, messages: { radio: "Choose one of the items" } });