Hello, I try to use RadNumericBox with different culture settings. For example, I use "ru-RU" culture (Number separator is ","):
var culture = new CultureInfo("ru-RU");
Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = culture.Name;
CultureInfo.DefaultThreadCurrentCulture = culture;
CultureInfo.DefaultThreadCurrentUICulture = culture;
I set primitives:CultureService.CultureName="ru-RU" at the control, but I still see "." separator on the keyboard and I can't input this separator. Could you explain me where I made a mistake?
Thanks.
6 Answers, 1 is accepted
Thank you for contacting us.
When you change the CultureService.CultureName property, indeed you change the culture of the control and the separator becomes comma instead of dot. The control uses a Number keyboard by default which does not include comma. However, you can change the keyboard as per your needs through the InputScope property and choose a keyboard which includes comma.
I hope this helps.
Regards,
Ivaylo Gergov
Telerik
I believe the InputScrope does not depend on the current culture. If you want to ensure all characters are available, you can use InputScope.Default.
Regards,
Ivaylo Gergov
Telerik
Hello,
I've found a strange behavior in RadNumericBox. I set up OS language as Russian and added two keyboard languages: English and Russian. After that I couldn't input any number separator (",", "."). Could you explain me this behavior?
Please, provide a sample app(to ensure we are on the same page) so I can test the scenario.
Regards,
Ivaylo Gergov
Telerik