is is possible to build a custom AggregateFunction, which accesses a WebService asynchronously to retrieve the aggregated data?
Thanks,
Jens
3 Answers, 1 is accepted
0
Stefan Dobrev
Telerik team
answered on 14 Oct 2009, 06:54 AM
Hi Jens,
This can be implemented. You can use our custom aggregate sample as baseline. You can look how the Statistics.cs class is implemented and do your web services call in a similar fashion.
thank you for your reply. I already saw this sample, but will it work using an asynchronous approach?
Thanks,
Jens
0
Stefan Dobrev
Telerik team
answered on 19 Oct 2009, 09:42 AM
Hi Jens,
You should make the web services call synchronous and just return the result. You can also play with lazy evaluation of LINQ expressions and override CreateAggregateExpression method of AggregateFunction.