Silverlight client-side calculation results not rendering

Stimulsoft Reports.Silverlight discussion
Locked
Trevors
Posts: 1
Joined: Wed Nov 09, 2011 3:36 am
Location: Cape Town, South Africa

Silverlight client-side calculation results not rendering

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Silverlight client-side calculation results not rendering

Post 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.
Locked