But, 2 problems :
- This is not 'e.KeyChar' but 'e.Key'
- 'e.Key' is in ReadOnly, I can't change his value..
Can you help me ?
2 Answers, 1 is accepted
answered on 20 May 2016, 12:29 PM
RadNumericUpDown does not provide a way to set two decimal separators out of the box.
However, you could use the following approach to achieve the desired - subscribe to the PreviewKeyDown event of the NumericUpDown and in its handler insert the NumberDecimalSeparator of the NumericUpDown control whenever "," or "." are typed in the input field. In other words to insert for example "." in the both cases. Here is some sample code snippet: