DG wrote:Hi!
I'm currently evaluating StimulReport.Net for usage in our product and a few questions
have come up.
1. Is is possible to permantly add a custom Assembly to a report via a setting or something?
Yes it is possible. Please do following steps:
1. Choose "Report" in Report Property Editor.
2. Add reference to your application dll in ReferencedAssemblies property.
3. Add using of your assembly to report code.
These steps you can see in FlashTutorial
http://www.stimulsoft.com/livedemos/Rep ... ction.html .
DG wrote:
2. How do I correctly add a decimal variable? When using something like this
Code: Select all
new StiVariable("Beleg", "GesamtbetragBrutto", typeof(decimal), belegDummy.BelegbetragBrutto.ToString(), false));
the designer generates this code which obviously doesn't work:
C# want decimal values with dot. Correct your code:
new StiVariable("Beleg", "GesamtbetragBrutto", typeof(decimal), belegDummy.BelegbetragBrutto.ToString().Replace(",", "."), false));
or
new StiVariable("Beleg", "GesamtbetragBrutto", typeof(decimal), string.Empty, false));
DG wrote:
3. I've looked at the globalization example. As the reports will be designed by our customers in most cases, the approach in
the example is not possible. What would be the easiest way to let a user localize a report?
Regards
Dennis
For example you can use string variables in Report Dictionary. For also you can contact us for getting new version of Globalization Manager.
Thanks!