Progressbar report

Stimulsoft Reports.Silverlight discussion
Locked
NadiaTeles
Posts: 15
Joined: Wed Apr 06, 2011 2:56 pm
Location: BR

Progressbar report

Post by NadiaTeles »

Hi.

In Silverlight application, Im using RegBusinessObject. I made example equals Silverlight Pure with RegBusiness.

I am using WCF and when calling the asynchronous method I would like to have to progressbar.

servicoWCF.ReportAsync();

ReportCompleted

System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly();
StreamReader sr = new StreamReader(a.GetManifestResourceStream(strArquivo));

StiReport report = new StiReport();
report.Load(sr.BaseStream);
sr.Dispose();
report.CalculationMode = StiCalculationMode.Interpretation;
report.RegBusinessObject("Data", "Data", dataRelatorio);
report.Render();
report.Show();
I need to place to progressbar. How I make?

Thankyou

Teles
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Progressbar report

Post by HighAley »

Hello.

You should put StiSLViewerControl on the page and use its StartProgressInformation() method to show Progress Bar. You couldn't use report.Show() in this case.

Thank you.
Locked