Sorry for the scary late night at the party, but I have a special cake that you can find delicious:
function readData()
{
return {
anagId: selectedItem.ID
};
}
$("#grid").kendoGrid({
dataSource: {
type: "ajax",
transport: {
read: {"url":"@Url.Action("RecordRead", "Tools")","data":readData}
}
[ rest of the grid configuration]
I stumbled upon this code by checking out the code generated by the Kendo Asp.Net MVC helpers.
, , , , .