Grouping aggregation issue in dynamic columns

2 posts, 0 answers
  1. Karthikeyan
    Karthikeyan avatar
    6 posts
    Member since:
    Oct 2015

    Posted 26 Jan 2016 Link to this post

    I am trying to create dynamic columns by creating column header and assigning the list of string values based on the index to the column databinding and while i am trying to add aggregation to the columns i am facing runtime issue as mentioned below.

    "No generic method 'Sum' on type 'System.Linq.Enumerable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic."

    I am unable to resolve this issue after number of workarounds.

     Kindly provide me a solution ASAP.


    Karthikeyan R

  2. Stefan Nenchev
    Stefan Nenchev avatar
    665 posts

    Posted 29 Jan 2016 Link to this post

    Hello Karthikeyan,

    Usually, the reason behind such error is that you can sum only Numeric types. Please, review the following article in order to get more information on the possible solution - Exception with Sum AggregateFunction.
    If the aforementioned article does not resolve the issue at your end would it be possible to provide more details on your exact setup. Sending a sample project would be the best approach as we would be able to have a more detailed look and further investigate the issue.

    I am looking forward to your reply, Karthikeyan.

    Stefan Nenchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top