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

1 posts, 0 answers
  1. Vijayan
    Vijayan avatar
    3 posts
    Member since:
    Aug 2014

    Posted 02 Jan 2018 Link to this post

    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
    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.

Back to Top