Hello,
I have noticed that you have submitted a support thread in the private system. It is recommended to avoid submitting duplicate tickets. Nevertheless, I am sharing the provided answer in case anyone else from the community come across this scenario:
The Kendo UI Grid data source exposes a Data() option that allows for sending additional parameters to the server-side:
.Read(r => r.Action("Company", "Index", new { handler = "ReadRecords", }).Data("additionalData")
Within the JavaScript function handler return the property of the model of the page:
function additionalData() {
return {companyId: '@Model.CompanyId'};
}
Accept it on the server-side as follows:
public JsonResult OnPostRead([DataSourceRequest] DataSourceRequest request, string companyId)
{
return new JsonResult(orders.ToDataSourceResult(request));
}
Best regards,
Tsvetomir
Progress Telerik