Page 1 of 1

Silverlight client-side calculation results not rendering

Posted: Wed Nov 09, 2011 3:46 am
by Trevors
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:

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();
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?

Silverlight client-side calculation results not rendering

Posted: Thu Nov 10, 2011 3:44 am
by HighAley
Hello.

Unfortunately, parser doesn't support SumRunning function. We can't say if it is possible to do.
It we'll do it, it will be written in our news.

Thank you.