Telerik UI for ASP.NET MVC version for custom datasource in the Read method of Transport does not support the method Data(string handler) in order to send additional parameters.
Kendo UI version supports this.
Is there a workaround for this?
Hi Alex,
Thanks for the clarification. I was expecting it to be the same as the other actions on grid like .Transport("OrdersRead", "Grid").Data("additionalData"). Thank you for the clarification.
.DataSource(d =>
{
d.Custom()
.Transport(t => t.Read(read => read.Action(
"Products"
,
"Grid"
).Data(
"additionalData"
).Type(HttpVerbs.Post)));
})
<script>
function
additionalData() {
return
{
id: 1
}
}
</script>