Is there a property I can set so that the RadMaskedNumericInput field only shows the thousands separator when the value gets over 1,000? It doesn't look great that the commas appear before the value is high enough to need them.
Unless I'm misunderstanding the linked example, that only effects the numbers to the right of the decimal. However, I want to effect the digits to the left of the decimal since I want to change when the commas are displayed. I've tried manipulating the Mask instead of the StringFormat but it causes the CaretIndex to get messed up every time the Mask is changed.
Martin Ivanov
Telerik team
commented on 14 Jul 2025, 03:31 PM
Actually, you are correct. The example handles the decimal values. However, you can use the custom control implementation to make extra modifications over the masked component's behavior.
I've reviewed the communication so far again and it sounds to me that just an empty mask and a StringFormat of "N0" should do what you need. The N0 should ensure that the number group separator is displayed only when you reach the corresponding value. Please correct me if I am wrong and you need to do something else.
Actually, you are correct. The example handles the decimal values. However, you can use the custom control implementation to make extra modifications over the masked component's behavior.
I've reviewed the communication so far again and it sounds to me that just an empty mask and a StringFormat of "N0" should do what you need. The N0 should ensure that the number group separator is displayed only when you reach the corresponding value. Please correct me if I am wrong and you need to do something else.
<telerik:RadMaskedNumericInput Mask="" FormatString="N0" UpdateValueEvent="PropertyChanged" />