New to Telerik Reporting? Request free 30-day trial

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:

  1. The Culture of the TextBox.

  2. If the TextBox has no Culture defined, the Culture of the Report is used.

  3. 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

  1. 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.

  2. You may set the Report.Culture to a specific culture that will be used whenever the report is rendered.

See Also

In this article