cancel
Showing results for 
Search instead for 
Did you mean: 

How to set crystalReportViewer1.SetProductLocale in Visual Studio 2019

0 Kudos

Hi,

I have used following code in Visual Studio 2015. But giving issue in 2019:

crystalReportViewer1.SetProductLocale(Thread.CurrentThread.CurrentUICulture.LCID);
crystalReportViewer1.ViewerCore.SetProductLocale(new CultureInfo("ar-BH").LCID);

Please Help me to solve this issue.

Regards,

Kamlesh

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

It does exist in the WPF viewer like this:

crystalReportsViewer1.ViewerCore.ProductLocale = new CultureInfo("ar-BH");

SetProductLocale is a CR.Winform property.

Answers (2)

Answers (2)

0 Kudos

It appears since upgrading to 4.0 framework that function no longer exists.

I'm checking with R&D to see if it's a framework issue or for some reason we lost the function...

Don

0 Kudos

Hi Kamlesh,

I just installed the latest build for SP 26 and will test this this afternoon.

It's too late now to get this into this release....

Don