We have an application that allows for working in multiple currencies and supports localization. For example, I may speak US English but might be working (on the same page) with Yen, Euros, and US Dollars. As I work with/edit these currencies, I should see the decimal and thousands separator in US English but the currency symbol (and possibly positioning, decimal places, etc.) will change based on the currency.
We want to use the NumericTextBox for currency input and formatting, but it appears the currency format only comes from the ambient page-level culture - there isn't a straightforward way to say "use US English with these modifications just for this Yen currency entry textbox, and use US English with these different modifications just for this Euro entry textbox."
I am currently pursuing an option where I somehow replace the _format function on the NumericTextBox widget so it gets the culture but then also allows for field-level overrides before returning the complete number format.
Am I overlooking something obvious? Is there a better way to accomplish this?
We want to use the NumericTextBox for currency input and formatting, but it appears the currency format only comes from the ambient page-level culture - there isn't a straightforward way to say "use US English with these modifications just for this Yen currency entry textbox, and use US English with these different modifications just for this Euro entry textbox."
I am currently pursuing an option where I somehow replace the _format function on the NumericTextBox widget so it gets the culture but then also allows for field-level overrides before returning the complete number format.
Am I overlooking something obvious? Is there a better way to accomplish this?