Page 1 of 1

Add Components

Posted: Fri May 17, 2013 12:23 pm
by cazari
I'm trying to pick up components from another report and add in the report that is being uploaded, but the components do not appear ..
The code is event "END" of the report.

Code: Select all

Stimulsoft.Report.StiReport stiReportCabecalho = new Stimulsoft.Report.StiReport();			
			stiReportCabecalho.Load("C:\\Relatorios\\Cabecalho.mrt");			
			Stimulsoft.Report.Components.StiPageHeaderBand headerBand = ((Stimulsoft.Report.Components.StiPageHeaderBand)stiReportCabecalho.GetComponentByName("PageHeaderBandCabecalho"));
						
			PageHeaderBandCabecalho.Components.AddRange(headerBand.GetComponents());

Re: Add Components

Posted: Sat May 18, 2013 7:44 am
by Alex K.
Hello,

Can you please describe your issue in more details? What do you mean about "is event "END" of the report".
Can you please send us a sample for analysis.

Thank you.