[VS2010/ASP.NET Web Forms]
Hi,
In a report (RDLC) I need to provide localization/globalization in two languages (pt-BR and en-US) to the following elements:
I have had success with localizing reports by feeding in the culture I would like to display as a parameter to the report. Here is the basic outline:
Setup a report parameter that represents the culture code you want to display. Let's call it pReportCulture. I set a static value as a default for "en-US"
Set the Language of your report to the value of the parm : Language =Parameters!pReportCulture.Value. This should setup the culture of all textboxes etc in the report.
Make sure to put a date or currency format on fields that you localize. Use the .toString("c") or other valid formats. If you do any custom text parsing you will lose the auto localization from the culture setting.
That should take care of most the the localization display.