Completed
Last Updated: 05 Oct 2018 14:58 by ADMIN
ADMIN
Petar Mladenov
Created on: 13 Jul 2018 14:49
Category: MaskedInput
Type: Bug Report
1
MaskedInput: Editing fails to produce value and Text is wrong in CurrencyInput with Culture whose currency symbol contains point symbol
For example: 

RadMaskedCurrencyInput with Culture="da-DK" and VALUE 12345.67 and Mask=#9.2. In this culture the currency symbol is "kr."

In WIndows 8, the NumberFormat.CurrencyPositivePattern is 2 (meaning '$ n').

In Windows 10, this pattern is 3 (n $). 

So in WIn8, WIn7 or WIn10 but if you change the pattern programmatically to 2. Th result is:



Actual: "kr.___.___._kr,12" this is what we see on load and on focus in control. Editing does not change the value.

Desired: 'kr. ___._12.345,67' in pattern 2

Control also produces ugly results with pattern 0 and 1. Control seems to work ok with pattern 3:

Actual and Desired: '___._12.345,67 kr.'

* this could be achieved on Win 8 with change setting or out of the box in Win10.

==============

Workaround (if applicable and desired formatting in the specific scenario)

Set in code behind:

InitializeComponent();

CultureInfo info = new CultureInfo("da-DK");
 info.NumberFormat.CurrencyPositivePattern = 3;
            
 this.maskInput.Culture = info;


1 comment
ADMIN
Ralitsa
Posted on: 05 Oct 2018 14:57
Hi, 

The fix will be available in our next official version – R3 2018 SP1, scheduled for 17-th October 2018(Wednesday).

Best regards,
Ralitsa Kumanova