" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
WebNumericEditor is one of the Infragistics Editor controls.
Now, WebNumericEditor control will use a comma to separate number groups
For example 1234567 will be displayed as 1,234,567
But if you want to prevent 1234567 being displayed as 1,234,567
Here’s the C# code :-
//Requires: using System.Globalization;
CultureInfo ci = new CultureInfo("en-US");
NumberFormatInfo nfi = new NumberFormatInfo();
nfi.NumberGroupSeparator = string.Empty;
ci.NumberFormat = nfi;
this.WebNumericEditor1.Culture = ci;
Mail (will not be published) (required)
Enter Captcha Code *
+ six = 14
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...