How would you get multiple items using REST
I want my control to pull its data from a WCF REST service.
So in the Designer lets say the user chooses to show Items 3, 6, 10, 12
How do you go about handing something like that with a REST approach, or does that fly in the face of the idea :)
Ideally I'd want an XML result with those 4 items which I can just databind (needs to be consumed by flash as well as some telerik bits)
Hi Steve,
You can pass the number of the items you want to take as an agreement of your WCF service. Then in the code of the method you can cast your collections results to Queriable and use the Take method to take N items: Queryable.Take Method
Best wishes,
Radoslav Georgiev
the Telerik team