Currency formatted textbox does not render correctly in certain environments
Environment
Product | Progress® Telerik® Reporting |
Description
The rendered report document contains weird symbols in place of the currency symbol in the textboxes that have currency formatting applied.
When determining what Culture to use for formatting strings and text direction, the rendering engine will inspect those objects in the following order:
The Culture of the TextBox.
If the TextBox has no Culture defined, the Culture of the Report is used.
If the Report has no Culture defined, the Culture of the CurrentThread is used.
Possible Cause
This could be caused by the environment, where the report is rendered, having a different culture than the machine, where the report was designed.
For example, if the production environment had a specific culture, which currency symbol was not available in the font used by the textbox.
Solution
You may wrap your textbox's Value expression in the FormatWithCulture(cultureName, format, args) text function to ensure that the textbox will be formatted with that specific culture.
You may set the Report.Culture to a specific culture that will be used whenever the report is rendered.