Language resource for "static" text in report (C1FlexReport)

Posted by: peterf on 13 March 2023, 9:36 am EST

    • Post Options:
    • Link

    Posted 13 March 2023, 9:36 am EST

    I have a report with column headers in English and I’d like to translate them via Resources.lang.resx.

    I could read in the flxr and replace the Text but I wondered if there’s a better way (e.g. access a Field and replace its Text property).

  • Posted 13 March 2023, 8:14 pm EST

    Hi Peter,

    To translate the column headers (static text) in the C1FlexReport, you will need to get the TextFields from the C1FlexReport.Fields collection, by using the field names. Then, you can use the Text property of the TextFields to switch to the translated text. Please see the attached sample for reference.


    Best Regards,


  • Posted 14 March 2023, 1:26 am EST

    It appears the problem with my report was the fields were defined as Calculated as I did try the above previously and got a field error complaint on my translated text.

    I’ve changed the Calculated to false.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels