I've successfully implemented my stimulsoft reporting on our server side using the ClientServer examples. Everything was fine till I had to change my reports to client-side. I pass my business object data from Server to Client via webservices and the report triggers successfully on the client side except for the calculations in the ReportSummaryBand:
example: expression = {SumRunning(DataBand2,Data.Headers.Details.TotalPrice)}
I use this code in my code behind:
Code: Select all
...
sr = new StreamReader(a.GetManifestResourceStream("Project.Assets.Docs.SalesInvoice.mrt"));
InvoiceData = e.Result;
report.RegBusinessObject("Data", "Data", InvoiceData);
report.Load(sr.BaseStream);
sr.Dispose();
report.CalculationMode = StiCalculationMode.Interpretation;
report.Render();
report.Show();