Hi guys,
I am using Radgridview in one of my projects.
Each row has got child objects that consist of a Tabcontrol and each tabitem has got either a Radgridview or a RadChart etc.
Some columns have got sum or count aggregate functions in the footers.
OK, so all worked very well, until my data started growing and I got the notorious "NotFound" exception.
So after battling for a couple of days to get around this, I added the transferMode="Streamed" into my web.config (See below).
<
basicHttpBinding>
<
binding name="ServicesBinding" transferMode="Streamed" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<
readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</
binding>
</
basicHttpBinding>
The moment I did this, I get the following error when a Radgridview loads :
Visual Studio Just-In-Time Debugger
An Unhandled exception ('Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.InvalidOperationException: No method 'Sum' on type
'System.Linq.Enumerable' is compatible with the supplied arguments.
As far as I can see, this is only on the Sum function :
<
grid:GridViewDataColumn.AggregateFunctions>
<telerikData:SumFunction Caption="Order Total: "/>
</grid:GridViewDataColumn.AggregateFunctions>
The moment I remove this everything works again, I can still have my count functions, but no sum functions are working.
Just thought you might want to have a look at this.
Kind Regards
Paul Kleynhans