Add Components

Stimulsoft Reports.NET discussion
Post Reply
cazari
Posts: 1
Joined: Fri May 17, 2013 12:15 pm

Add Components

Post 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());
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Add Components

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