Giter Site home page Giter Site logo

Issue on Ubuntu about reportviewercore HOT 2 CLOSED

lkosson avatar lkosson commented on June 27, 2024
Issue on Ubuntu

from reportviewercore.

Comments (2)

lkosson avatar lkosson commented on June 27, 2024

It looks like ReportViewer (both original and core version) doesn't play nice with custom cultures and .NET Core on Ubuntu defaults to one. Try setting System.Threading.Thread.CurrentThread.CurrentCulture for a thread used to render your RDLC to some predefined culture like new CultureInfo("en-GB") or even CultureInfo.InvariantCulture.

from reportviewercore.

verloka avatar verloka commented on June 27, 2024

It looks like ReportViewer (both original and core version) doesn't play nice with custom cultures and .NET Core on Ubuntu defaults to one. Try setting System.Threading.Thread.CurrentThread.CurrentCulture for a thread used to render your RDLC to some predefined culture like new CultureInfo("en-GB") or even CultureInfo.InvariantCulture.

I found the problem. It works on Windows, but does not work on Linux unless the language is configured in the report (blank field).

image

from reportviewercore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.