There seems to be an issue in the success function of the RssCek Function in HomeController. While the HomeController RssCek function returns successfully, I am unable to bind it with the grid. HomeController RssCek function return part
return Json(feedler, JsonRequestBehavior.AllowGet);
JavaScript Script Function
<script>
function select(e) {
var value = $(e.item).find("> .k-link").text();
$.ajax({
url: '@Url.Action("RssCek", "Home")',
type: 'GET',
contentType: 'application/json; charset=utf-8',
data: { value: value },
success: function (feedler)
{
var g = $("#grid").data("kendoGrid");
g.dataSource = new kendo.data.DataSource({ data: feedler });
g.dataSource.read();
g.refresh();
},
error: function (request, status, error)
{document.write(request+"++"+ status+"++"+ error);}
});
}
</script>