且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用AJAX响应将数据绑定到Telerik Grid

更新时间:2022-05-19 19:03:14

.ajax({type:' POST', url:' @ Url.Action("CallMyGrid")', 数据:{数据:data1}, 异步: true , 成功:功能(响应){ var grid =
.ajax({ type: 'POST', url: '@Url.Action("CallMyGrid")', data: { data: data1 }, async: true, success: function (response) { var grid =


(' ' ' grid.rebind(//他是我不知道将代码重新绑定到Grid的代码的主意... alert('我是网格' + response);}, 错误:函数(xhr,ajaxOptions,thrownError){ alert(xhr.responseText); } }); }
('#MyGrid').data('tGrid');' grid.rebind( // He re i am not able to get idea for code to rebind the data to Grid... alert('I am Grid '+response);}, error: function (xhr, ajaxOptions, thrownError) { alert(xhr.responseText); } }); }



任何古迪我都可以拒绝这个吗?...



Can any gudie me regading this....