Set culture when printing

Stimulsoft Reports.NET discussion
Post Reply
Xavier Rubio
Posts: 3
Joined: Thu Sep 27, 2007 9:08 am
Location: Spain

Set culture when printing

Post by Xavier Rubio »

Hello!
How could I set de culture when printing?
I'm trying to print some invoices of different customers, each customer has a field which defines his culture(language).
I tried using custom Globalization Manager and set its culture in the event 'Before Print' of the page, but it doesn't works.

Code: Select all

this.GlobalizationManager.Culture = new System.Globalization.CultureInfo(Customer.Culture);
I tried it in 'Begin Render' event too.

I tried using 'Globalization Strings' and set report culture in the same events:

Code: Select all

this.GlobalizationStrings.LocalizeReport("es");
doesn't works

I need help!
:surr:
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Set culture when printing

Post by Edward »

Unfortunately Globalization Manager is available only for whole report. It is impossible to Change the Culture of the report during rendering.


Thank you.
Post Reply