Hi,
How can I add a sumfunction to a GridViewExpression column?
for a GridViewDataColumn I simply add:
<telerik:GridViewDataColumn.AggregateFunctions>
<telerik:SumFunction />
</telerik:GridViewDataColumn.AggregateFunctions>
and it works 100%, but when I do it for the same for GridViewExpressionColumn:
<telerik:GridViewExpressionColumn.AggregateFunctions>
<telerik:SumFunction />
</telerik:GridViewExpressionColumn.AggregateFunctions>
I get an error "No Generic method 'Sum' on type 'System.linq.Enumerable' is compatible with the supplied type arguments".
The data in GridViewDataColumns is of Type Decimal, do i need to set the type of the expression column? if so, how?
thanks.
regards,
Matthew