This is a migrated thread and some comments may be shown as answers.

[Solved] Databind custom collection class

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henrik
Top achievements
Rank 1
Henrik asked on 20 Apr 2009, 02:15 PM
Hi!

I have a custom collection class that implements the IEnumerable interface like this:
public class BalanceSummering : IBalanceSummering, IEnumerable<IBalanceSum> 
... 

When I bind this to a radgrid, the rows corresponding to the items in the collections are displayed as they should.
But, the totals are not listed in the footer. Do I need to implement a specific interface to make it work?

If I bind the grid to an IList<entities>, the totals are displayed as they should.

Can you please help me?

Best regards

Henrik


1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 23 Apr 2009, 03:03 PM
Hello Henrik,

I could not reproduce this issue.

Please, review the attached sample for comparison.

Best Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Henrik
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or