Silverlight client-side calculation results not rendering
Posted: Wed Nov 09, 2011 3:46 am
Hi,
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:
I based this on the Pure Silverlight example. It works on the one Server side fine (no changes were made to the actual report) but Client side just ignores the expressions?
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();