This is a migrated thread and some comments may be shown as answers.

Problems typing numeric and decimal point characters

3 Answers 112 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Julian
Top achievements
Rank 1
Julian asked on 02 Sep 2008, 12:47 AM
Hi

I've found problems when typing values into the RadNumericUpDown for Silverlight.  I'm using RadControls_for_Silverlight_2_Beta_trial.

Specifically:
  • The first numeral that is typed after highlighting the text is always replaced by a zero (0), rather than the numeral that was typed.
  • It seems impossible to enter a decimal point character (.)
Am I mistaken in thinking that a user should be able to type a numeric value into the RadNumericUpDown, and the control then changes that value to the required format?

Here's the Xaml I'm using:

<telerikInput:RadNumericUpDown Value="{Binding Trade.CostOfCapital, Mode=TwoWay}" Height="Auto" HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" Width="Auto" FontSize="{StaticResource ControlFont}" ValueFormat="Numeric" NumericUnit="" RepeatInterval="100" SmallChange="0.01" Maximum="10000000000" Delay="100" BorderBrush="#FF000000" LargeChange="1"/>

Any help or feedback is appreciated.

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 09 Sep 2008, 11:29 AM
Hello Julian,

I suggest that you download the latest RadControls for Silverlight Beta 2 release that is currently available under
your Client.net account. The problem should be fixed there.

Let us know how this goes.

Regards,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Julian
Top achievements
Rank 1
answered on 23 Sep 2008, 01:34 AM
Hi Nick

Thanks for the update.

This has fixed the issue where the first numeral that is typed after highlighting the text is always replaced by a zero (0), rather than the numeral that was typed.  And I can also enter a decimal point character using the number pad on my keyboard.

However:
  • I still can't enter a decimal point character by using the full stop character on the keyboard, which is a problem for laptops which don't have number pads.
  • It's a small point, but you can't enter a decimal point as the first character (even using the number pad), you have to enter zero first.
 Regards

Julian
0
Hristo Borisov
Telerik team
answered on 26 Sep 2008, 05:34 AM
Hi Julian,

The problem with laptop keyboards comes from the Silverlight Framework. The arguments we receive from the key stroke event is wrong for the decimal point in any laptop keyboard. We can do nothing but wait until Microsoft fix the issue in the Silverlight plugin. Your second concern is already resolved so look forward to downloading our latest bits next week. Thank you for the valuable feedback and feel free to share any other information concerning our controls.

Sincerely yours,
Hristo Borisov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
NumericUpDown
Asked by
Julian
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Julian
Top achievements
Rank 1
Hristo Borisov
Telerik team
Share this question
or