Last Updated: 03 Apr 2024 13:49 by Ludek
Created on: 03 Apr 2024 13:49
Type: Bug Report
Restoring the thread's current culture in the report viewer events after a localized report is rendered or exported does not work in .NET Core projects.

To preview/export localized reports in different languages, I change the thread's current culture in the report viewer's ExportBegin/RenderingBegin events and reset it back to the original culture in the ExportEnd/RenderingEnd events.

This approach works well in .NET Framework projects but in .NET Core projects, the culture is not reset properly.

Changing the culture in the events of the desktop report viewers should work both in .NET Framework and .NET Core projects.