I am creating a report by using a .Net List collection as a DataSource. The primary list includes some properties which are themselves a collection (List<string>). Does Telerik reporting support support Collections within collections?
Following is a simple example which can recreate the issue. When I created a report that binds to List<AddressEntry> as a DataSource, , it lists out the each AddressEntry (Name, Address, PhoneNo) but does not list the multiple Contacts within the address. I have tried item bind to Fields.Contacts and Fields.Contacts.Item, neither of which had success is listing the Contacts.
List<AddressEntry> entries = new List<AddressEntry>();
//populate the individual address entries, each address can have multiple contacts.
....
public class AddressEntry
{
public string Name {get;set;}
public string Address {get;set;}
public List<string> Contacts { get; set; }
public string PhoneNo { get; set; }
}
Thanks for the response,
Following is a simple example which can recreate the issue. When I created a report that binds to List<AddressEntry> as a DataSource, , it lists out the each AddressEntry (Name, Address, PhoneNo) but does not list the multiple Contacts within the address. I have tried item bind to Fields.Contacts and Fields.Contacts.Item, neither of which had success is listing the Contacts.
List<AddressEntry> entries = new List<AddressEntry>();
//populate the individual address entries, each address can have multiple contacts.
....
public class AddressEntry
{
public string Name {get;set;}
public string Address {get;set;}
public List<string> Contacts { get; set; }
public string PhoneNo { get; set; }
}
Thanks for the response,