Telerik Forums
UI for Universal Windows Platform Forum
3 answers
125 views

I discovered some strange behavior in the RadNumericBox control. Values in the control are being changed while simply scrolling through a list.

I have created a minimal repro of the issue at the following repository:

https://github.com/EddieLotter/RadNumericBox.Anomaly

Please have a look and see if it is something I am doing incorrectly or if there is a problem with the control.

Thanks.

Yana
Telerik team
 answered on 10 Apr 2019
2 answers
62 views
As said in this thread https://github.com/telerik/UI-For-UWP/issues/332 the decimal-separator is bugged when used in windows 10 1809, at least if the decimal-separator system-setting is other then a dot, e.g. in Germany which uses comma.

The Bug seems to be solved in the referred Branch by Nasko https://github.com/telerik/UI-For-UWP/tree/Nasko/update-sdk yet it is not available in NuGet, not even as a prerelease.

Also setting the decimal-separator manually is impossible, yet in 2016 it was said this change will be implemented https://www.telerik.com/forums/problem-with-decimal-separator

However, is there a schedule, when the Bugfix will arrive in NuGet? The recent version is 1.0.1.2 from October 17th 2018 while the fixed branch is from November 2nd 2018.
Raymond
Top achievements
Rank 1
 answered on 15 Jan 2019
1 answer
40 views

I want to enter a 6-digit into a RadNumericBox using the soft input panel (France-French keyboard settings) 

I'm using c# in VS2015 and Telerik UI For Universal Windows Platform R2 2017.

How to simulate?
- Create a new Universal Windows project
- Add a RadNumericBox control to the MainPage
- Set your computer in a France-French keyboad setting
- Start the application
- Switch to 'Tablet'-mode
- Open the soft input keyboard and set focus in the RadNumericBox
- Click 5 on the soft input keyboard -> You get 5 in the RadNumericBox -> All good
- Click 6 on the soft input keyboard -> You get -5 in the RadnumericBox -> NOT GOOD!!!

When you switch to any other (non French) keyboad setting (eg. US-En) you get a '6' when you press '6' on the soft numeric input panel.

How can I enter a 6-digit in my RadNumericBox using a soft input keyboard set in (any) French mode?

Please help.

Nasko
Telerik team
 answered on 11 Aug 2017
14 answers
86 views

 

When I upgraded from 2016.1.113.45 to the latest version (now using your Nuget package) I noticed that the styling of my numeric box had changed and the spinner arrows were no longer showing up for me since both the background and foreground are coming out white.  I am switching the styling via code like that of below.  All the properties seem to be working fine so far except the pointer foreground ones.  They seem to come out as the default white, but I want black.  Can you please see if this is a bug, or if there is a suggested fix?  This did work with previous versions of UI for Windows Store 8.1 and UI for UWP.

            Style numericUpDownButtonStyle = new Style();
            numericUpDownButtonStyle.TargetType = typeof(InlineButton);
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.ForegroundProperty, Value = new SolidColorBrush(Colors.Black) });//not working
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.BackgroundProperty, Value = new SolidColorBrush(Colors.White) });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.HeightProperty, Value = 40 });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.WidthProperty, Value = 40 });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.BorderBrushProperty, Value = this.numericBoxPicker.BorderBrush });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.BorderThicknessProperty, Value = numericBoxPicker.BorderThickness });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.PointerOverBackgroundBrushProperty, Value = new SolidColorBrush(Colors.White) });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.PointerOverBorderBrushProperty, Value = new SolidColorBrush(Colors.Black) });
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.PointerOverForegroundBrushProperty, Value = new SolidColorBrush(Colors.Black) });//not working
            numericUpDownButtonStyle.Setters.Add(new Setter() { Property = InlineButton.IsTabStopProperty, Value = false });

            numericBoxPicker.DecreaseButtonStyle = numericUpDownButtonStyle;
            numericBoxPicker.IncreaseButtonStyle = numericUpDownButtonStyle;

 

 

I have also tried the named brush and it does not seem to work either and is not the best solution for me anyway.

<SolidColorBrush x:Key="TelerikNumericBoxSpinButtonForegroundBrush" Color="Black" />

Pavel R. Pavlov
Telerik team
 answered on 24 Nov 2016
1 answer
115 views

For : <telerik:RadNumericBox

I'm trying to set this so it appears as a integer.

For example if one was using this RadNumericBox to represent people in your group    23.00  looks incorrect... it should be  23

 

I don't see a way to force an integer instead of decimal, how do you do that?

I notice there is a AcceptsDecimalSeperator="False" and I'm setting it so that users cant simply type in a part of a person :)

 

But how do you set this for integer?

Lance | Manager Technical Support
Telerik team
 answered on 24 Aug 2016
6 answers
64 views

Hi,

I use RadNumericBox in my UWP app, but I have a problem with decimal separator on my mobile device. I can't enter the separator when keyboard input method is ukrainian, russian or others with decimal separator ",". I tried change culture to en-us (by default is uk-ua), but I still can't enter a separator (either "." or ",").

When I change keyboard input method to english, all work fine with different cultures. On my desktop everything always works perfectly.

How can I solve the problem on my mobile device?

Ivaylo Gergov
Telerik team
 answered on 11 Jul 2016
3 answers
78 views

Hello,

I want to set ValueFormat as integer. I tried this ValueFormat="{}{0,0:N0}", resp. I change format in designer and get this in Xaml. But when I build, I get error "Cannot assign to nullable type on property Value". How can I set ValueFormat in Xaml without error?

Best Regards

Miroslav Mareš

Miroslav
Top achievements
Rank 1
 answered on 02 Apr 2016
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?