I added this piece of code on my app startup method (Application_Startup) for localize your solution.
Code: Select all
System.Reflection.Assembly asm = System.Reflection.Assembly.GetExecutingAssembly();
Stimulsoft.Report.StiConfig.LoadLocalization(asm, "Prowise.Paineis.Client.Silverlight.pt-BR.xml");
Stimulsoft.Base.Localization.StiLocalization.Load(Stimulsoft.Report.StiConfig.Localizations[0]);
When I create a new report, everything works fine.
When I sender this report to WCF to render it, I get this error:
c:\Windows\Temp\revzshjq.0.cs(15,16) : error CS1520: Method must have a return type
The curious part:
IF I open a report from database (that I did before this modification), it renders fine.
What is this? I Need to add localization on WCF too?
Another question:
How to add a StiOracleDatabase to a Silverlight project?
I tried your projects at C:\~programfiles~\Stimulsoft Reports.Ultimate 2011.1 Trial\Adapters but they can't run at Silverlight projects...
Thanks in advance!
Eduardo Fleck