ColumnFilter does not support numerical filtering with culture as es-CO

0
0

The current culture is es-CO

When I enter a number like 2100,123 in the filtering criteria, I cannot return the correct result.

  • You must to post comments
0
0

Thank you, is it possible to set a separate culture for a certain usercontrol or page?

  • Julie(ITG)
    Not really. You can set Application.CurrentCulture when the page loads. And keep setting Application.CurrentCulture to switch it back and forth. But in general there is always one culture active.
  • Julie(ITG)
    More information: In .NET the culture is used to parse to format strings to/from numbers or dates, and to load localized resx files. All parsing and formatting methods have an additional argument for the culture to use. When not set, it defaults to the CurrentCulture set on the current thread. This is not wisej stuff, it’s standard .NET. Wisej sets the default culture of each thread at the start of the request. An app can change the current thread’s default culture when in starts. See ThreadBegin or BeginRequest or similar. OR it can use custom parsing or formatting code specifying the culture. See https://learn.microsoft.com/en-us/dotnet/api/system.threading.thread.currentculture?view=net-9.0
  • You must to post comments
0
0

Please refer to our documentation to see how to change the culture of your application:

https://docs.wisej.com/docs/concepts/localization#detecting-switching-browser-language

Best regards
Frank

  • You must to post comments
0
0

It’s not a bug.
The issue is that the culture is set for the column and not the entire application. Set the application culture to es-CO and that will fix the issue.

  • jingzhou liu
    Thank you for your reply. By the way, how to set the culture of the application?
  • You must to post comments
0
0

Hi,

thanks for reporting this. As a quick first update:
We could reproduce the problem and are working on a fix.

We’ll keep you updated.

Best regards
Frank

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.