[PR #232] Add culture and default culture cascaded. Use in datagrid and numeric templates #2079

Open
opened 2026-01-29 18:17:04 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/232

State: closed
Merged: Yes


Based on https://github.com/radzenhq/radzen-blazor/issues/206

Warning: there's a test, Numeric_Respect_MinParameter not passing for RadzenNumeric, however it doesn't seem to be related to any of the changes here (it didn't pass either without making any changes to RadzenNumeric itself)

There might be places where I haven't found templates using automatic conversion that might require "Culturization".

The RadzenTree in particular I've left out uses a Func<object, string> value for making the conversion, but seems to only handle (it builds a expression with a cast on the function Getter) cases where the property is already a string, and strings should not try to be converted.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/232 **State:** closed **Merged:** Yes --- Based on https://github.com/radzenhq/radzen-blazor/issues/206 *Warning*: there's a test, `Numeric_Respect_MinParameter` not passing for `RadzenNumeric`, however it doesn't seem to be related to any of the changes here (it didn't pass either without making any changes to `RadzenNumeric` itself) There might be places where I haven't found templates using automatic conversion that might require "Culturization". The `RadzenTree` in particular I've left out uses a `Func<object, string>` value for making the conversion, but seems to only handle (it builds a expression with a cast on the function `Getter`) cases where the property is already a string, and strings should not try to be converted.
claunia added the pull-request label 2026-01-29 18:17:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2079