Page 1 of 1

Progressbar report

Posted: Mon Apr 23, 2012 7:56 am
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

Progressbar report

Posted: Wed Apr 25, 2012 2:44 am
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.