I am using object data source to bind the data. But I am breaking my head to fix the list of objects in the report designer which is failing in the preview report. my business model returning List of objects from a class. like,
Public class Master
{
public int id {get;set;}
public string name {get;set;}
public string deptname {get;set;}
public List<content> content {get;set;}
}
public class content
{
public int contentID{get;set;}
public string contentName {get;set;}
}
My businesslogic method like below,
public async Task<List<Master>> GetToken(string AppNo)
{
----------Business return list of objects of Master----------
Return resultMaster
}
Questions,
1. how do I define an object in the report? ( =Fields.resultMaster.ID) or (=Fields.ID)
2. Given the model (Content) how do I bind in the report? (=Fields.resultMaster.Content.ID)
Could you please give me same report for "Report Designer Q2 2015" version. The one you attached is an old version of Telerik report.
Thanks.