I have a object like below
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?
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?