We have a problem with rendering of report with subreport inside. Problem can be reproduced only when we use an external subreport. In subreport we have a DataBand. Columns are Text controls. Property "Can Grow" of first column is set to True. Property "Grow to Height" of second column is set to True. The result after generating: the second column is stretched to bottom of the subreport, but should stretch only to bottom of first column. Problem is reproduced on the last stable build 2012.1.1300.0 and the last prerelease build 2012.2.1306.0. There are any ways to fix it?
This is an actual result:

This is an expected result:

Code of main report:
Code: Select all
MainDS
Column,System.Int32
MainDS
MainDS
EngineV2
None;Black;2;Solid;False;4;Black
Transparent
Transparent
0,0.2,7.49,0.7
Transparent
0,0,7.49,0.7
SubReport
2f1898ad0f064092baf7a6fc5cbdc18c
True
MainDS
MainDataBand
True
389da985d05444acb277648d297fc62c
0.39,0.39,0.39,0.39
Page1
11.69
8.27
A4
Arial,100
[50:0:0:0]
System.Dll
System.Drawing.Dll
System.Windows.Forms.Dll
System.Data.Dll
System.Xml.Dll
Stimulsoft.Controls.Dll
Stimulsoft.Base.Dll
Stimulsoft.Report.Dll
Report
5/18/2012 1:54:28 PM
5/8/2012 2:53:35 PM
D:\Projects\BRB\Document Generation\SubreportSample\SubreportSample\Reports\MainReport.mrt
399e5b803b0147dca83c7a3d3cef3b18
Report
Inches
2012.2.1306
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report() {
this.InitializeComponent();
}
#region StiReport Designer generated code - do not modify
#endregion StiReport Designer generated code - do not modify
}
}
CSharp
Code: Select all
SubDS
Column,System.Int32
SubDS
SubDS
EngineV2
None;Black;2;Solid;False;4;Black
Transparent
Transparent
0,0.2,7.49,0.2
All;Black;1;Solid;False;4;Black
Transparent
True
0.1,0,1,0.2
Arial,12,Bold
0,0,0,0
Text1
123
456
789
Black
Expression
All;Black;1;Solid;False;4;Black
Transparent
1.1,0,1,0.2
Arial,12,Bold
True
0,0,0,0
Text2
abc
Black
Expression
All;Black;1;Solid;False;4;Black
Transparent
2.1,0,1,0.2
Arial,12,Bold
0,0,0,0
Text3
{SubDS.Column}
Black
Expression
SubDS
DataBand1
Transparent
0,0.8,7.49,3.2
All;Black;1;Solid;False;4;Black
Transparent
0.1,2.9,3,0.2
Arial,12,Bold
0,0,0,0
Text4
Summary
Black
Expression
ReportSummaryBand1
2f1898ad0f064092baf7a6fc5cbdc18c
0.39,0.39,0.39,0.39
Page2
11.69
8.27
A4
Arial,100
[50:0:0:0]
System.Dll
System.Drawing.Dll
System.Windows.Forms.Dll
System.Data.Dll
System.Xml.Dll
Stimulsoft.Controls.Dll
Stimulsoft.Base.Dll
Stimulsoft.Report.Dll
Report
5/18/2012 11:44:42 AM
5/8/2012 2:53:35 PM
D:\Projects\BRB\Document Generation\SubreportSample\SubreportSample\Reports\SubReport.mrt
355e1b619bcf4ba5ae0d56fbfc5dfe36
Report
Inches
2012.2.1306
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report() {
this.InitializeComponent();
}
#region StiReport Designer generated code - do not modify
#endregion StiReport Designer generated code - do not modify
}
}
CSharp