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

telerik Reporting with ObjectDatSource with IEnumerable

0 Answers 16 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 01 Aug 2017, 01:07 PM
I have a object like below

   
public class MyCheckDto
   {
       public string ErrorMessage { get; set; }
       public IEnumerable<EarningsDto> FristEarnings { get; set; }
       public IEnumerable<EarningsDto> AnotherEarnings { get; set; }       
 
   }
 
  public class EarningsDto
   {
       public decimal Field1 { get; set; }
       public decimal Field2 { get; set; }
        
   }

I get my data via web api, then i want to create a pdf using telerik reporting
i wanted to bind it to a objectdatsource but it does not show all the fields inside EarningsDto it shows FristEarnings as one single field. What am i doing wrong?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Justin
Top achievements
Rank 1
Share this question
or