Dear Telerik Team
I am currently facing a problem using SumFunction in Grid View, I can use Count, Max, Min Functions except Sum and Average.
When I am using SumFuntion, it return an error with Type 'System.Linq.Enumerable' there is no generic method 'Sum'.
I am using the code behind to do so, which you could see as below.
In addition, my data grid, data source is from WCF, which WCF using LINQ to SQL to retrieve data from database.
Looking Forward your reply, ASAP!
Thank you
I am currently facing a problem using SumFunction in Grid View, I can use Count, Max, Min Functions except Sum and Average.
When I am using SumFuntion, it return an error with Type 'System.Linq.Enumerable' there is no generic method 'Sum'.
I am using the code behind to do so, which you could see as below.
Dim
group_constraint
As
New
GroupDescriptor()
group_constraint.Member =
"DELDATE"
group_constraint.SortDirection = ListSortDirection.Descending
group_constraint.DisplayContent =
"DELDATE Group"
Dim
c
As
New
SumFunction
c.SourceField =
"QTY"
c.Caption =
"Total Count: "
group_constraint.AggregateFunctions.Add(c)
Me
.dgProductionPlan.GroupDescriptors.Add(group_constraint)
Looking Forward your reply, ASAP!
Thank you