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

Binding with List of Objects/Array with Report Designer 2015 Q2

0 Answers 233 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Vijayan
Top achievements
Rank 1
Vijayan asked on 02 Jan 2018, 05:04 PM

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.

No answers yet. Maybe you can help?

Tags
Report Designer (standalone)
Asked by
Vijayan
Top achievements
Rank 1
Share this question
or