Display C1Report in localised culture

Posted by: stephenhughes on 10 September 2017, 2:48 am EST

  • Posted 10 September 2017, 2:48 am EST


    I want to display my C1Report using various different localisations/cultures. I want the date and number formats to represent my users locale. Is there a property on the C1Report or C1ReportViewer, or any other object that will allow the culture to be passed to the report and therefore show the numbers/dates in the correct format?

    Using C1.C1Report.4 version 4.6.20111.54307 with C1ReportViewer.
  • Replied 10 September 2017, 2:48 am EST

    Hello Stephen,

    I apologize for the delay in response. I would like to inform you that if your report is Data Bound and has Number Field or DateTime Field , and report is viewed in ReportViewer then Numbers and DateTime are rendered in a format as per the system setings. It is the default behavior, no properties have to be set for report or report viewer.
    You can see the attached screenshots from my machine where I had the following settings applied:

    1. Current Location: Germany
    2. Format : Germany(Germany)
    3. Current System Locale: Germany(Germany).

    In the screenshots, report having DateTime Column is shown in format dd.MM.yyy and numbers shown with Comma as decimal separator as per the German Locale.


  • Replied 25 June 2018, 6:06 am EST

    @stephenhughes were you ever able to determine if the report's locale can be switched on the fly?
Need extra support?

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

Learn More

Forum Channels