I am using the following line to get a column sum:
columns.Bound(item => item.McGross).Width(50).Title("Amount").Aggregate(aggreages => aggreages.Sum()).Format("{0:c}").FooterTemplate(result =>
{ %><%= result.Sum.Format("{0:c}") %><% });
I get error when any of the column valuse are null. How can I use “if” null put “0” for that record. Thanks in advance.
The good people at Telerik has provided an answer, here it is:
It worked. Hope this could help someone else.