This is a migrated thread and some comments may be shown as answers.

How to pass parameter to Grid SignalR Read data source method

1 Answer 415 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe Sugden
Top achievements
Rank 1
Joe Sugden asked on 17 Jul 2014, 09:28 PM
Hello,

I was looking at the demo:
http://demos.telerik.com/kendo-ui/grid/signalr
and this
http://developer.telerik.com/products/realtime-data-with-signalr-and-websockets/

I still cannot figure out how, using this technique, to pass a parameter
to the Read method, so instead of reading ALL games or products, it reads only a
subset of games or products, by category ID lest say. If I change the Read method in
the server-side code to take a parameter, it never gets hit anymore,
and I cannot figure out how to pass a parameter from the transport
client-side definition definition... Any help would be highly
appreciated!

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 21 Jul 2014, 01:17 PM
Hi Joe,

I have attached an example showing how server operations could be implemented using Kendo.DynamicLinq for binding the request parameters.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Joe Sugden
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or