cancel
Showing results for 
Search instead for 
Did you mean: 

Problems in setting the locale

Former Member
0 Kudos

Hi there,

I am using CrystalReports Designer 2008 SP1 and .NET 2.0. I would like to set the locale of the displayed report during runtime. This coding does not work unfortunately:


CultureInfo cI = UserCultureInfo.GetInstance().GetCurrentUserCultureInfo();
rptDoc.ReportClientDocument.LocaleID = CeLocale.ceLocaleEnglish;

I do have the CultureInfo but Crystal seems to need an enumerator as CeLocale....

Any ideas how to handle this?

Thanks,

Pascal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello, Pascal;

The CultureInfo is described in the Developers Library:

http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_dotNet_Server_Controls_SDK/bo...

On the client system, is the correct language available and is it on the top of the Language list in the Control Panel Regional and Language options.

Elaine

Answers (0)