I have a kendo grid which is populated form the database(works all fine) now when I click the "select" template column in the grid I want it to route to another page that has two controls:
a kendogrid and a list/table(both populated using sprocs ffrom database by passing in the productid from 1st grid)
How do I achieve this? I only get the json data in raw form on the page and not in the table..and I am not sure how to populate the list/table
$(document).ready(function () {
var pId = '@(Model.ProductId)';
$.ajax({
type: "POST",
url: '@(Url.Action("GetDetails", "Search"))',
data: JSON.stringify({ ProductId: pId }),
contentType: "application/json; charset=utf-8",
dataType: "JSON",
success: function (data) {
$('#DetailsGrid').data('kendoGrid').dataSource.fetch();
},
});
});
a kendogrid and a list/table(both populated using sprocs ffrom database by passing in the productid from 1st grid)
How do I achieve this? I only get the json data in raw form on the page and not in the table..and I am not sure how to populate the list/table
$(document).ready(function () {
var pId = '@(Model.ProductId)';
$.ajax({
type: "POST",
url: '@(Url.Action("GetDetails", "Search"))',
data: JSON.stringify({ ProductId: pId }),
contentType: "application/json; charset=utf-8",
dataType: "JSON",
success: function (data) {
$('#DetailsGrid').data('kendoGrid').dataSource.fetch();
},
});
});