This question is locked. New answers and comments are not allowed.
Hi
below my PaymentAmount column of the radgridview, I have a footer which will have an aggregate function to calculate the sum of all PaymentAmount.
However, I don't know how to retrieved that result which showed in the footer.
Can you tell me how to do that in code behind? because i need that value sum to do something else
of course, i can do the For loop to retrieve the sum again but that's not really a good solution when the value is already available at the footer
thank you
below my PaymentAmount column of the radgridview, I have a footer which will have an aggregate function to calculate the sum of all PaymentAmount.
However, I don't know how to retrieved that result which showed in the footer.
Can you tell me how to do that in code behind? because i need that value sum to do something else
of course, i can do the For loop to retrieve the sum again but that's not really a good solution when the value is already available at the footer
thank you
<telerik:GridViewDataColumn DataMemberBinding="{Binding PaymentAmount,Mode=TwoWay}" Header="Payment" UniqueName="Payment" DataFormatString="{}{0:c2}" > <telerik:GridViewDataColumn.AggregateFunctions> <telerik:SumFunction SourceField="PaymentAmount" ResultFormatString="{}{0:c2}" /> </telerik:GridViewDataColumn.AggregateFunctions> <telerik:GridViewDataColumn.Footer> <telerik:AggregateResultsList ItemsSource="{Binding}" /> </telerik:GridViewDataColumn.Footer> </telerik:GridViewDataColumn>