Hello,
I'm having an issue displaying data on the report I have.
I am using ReportDesigner tool to create report file which I want to be rendered however, when If I add text =Fields.WeekStartDate or =Fields.Lines im not getting anything.
This what I have:
Report is rendered by using ReportResolverBase class method: ReportSource ResolveReport()
protected override ReportSource ResolveReport(string reportId){ return reportHelper.GetReportSource(reportId);} public ReportSource GetReportSource(string reportId){ var reportSource = new InstanceReportSource(); reportSource.ReportDocument = Telerik.Reporting.Report Report; report.DataSource = new ObjectDataSource(model, null); // model structure below}var model = new List<Foo>();class Foo { public string WeekStartDate { get; set; } public string Year { get; set; } public string WeekOfTheYear { get; set; } public IEnumerable<Bar> Lines { get; set; }}class Bar { public string DueDate { get; set; } public string EQCode { get; set; } public string EQDescription { get; set; } public string WSDescription{ get; set; }}
My ultimate goal is to display Foo items on separate pages something like that:
DetailSection:
WeekStartDate ........................................ Year ....................... WeekOfTheYear............................
DueDate EQCode EQDescription WSDescription
DueDate EQCode EQDescription WSDescription
DueDate EQCode EQDescription WSDescription
DueDate EQCode EQDescription WSDescription (for each Line)
is there a way to achive that?
Thanks in advance!
