Telerik Forums
UI for Silverlight Forum
3 answers
56 views
Hi,

Is there a way to hide all the memory and function buttons on the calculator so that I can use it as a numeric keypad entry (for a touch screen application). The MemoryButtonsVisibility property does not seem to work and cannot find any similar of the function buttons.

Renier
Yoan
Telerik team
 answered on 30 Sep 2014
4 answers
35 views
Hi,
I've to provide a RadCalculatorPicker which allows to enter a number without opening the calculator.
I cannot find any property which enables this functionality.

Thanks for your help!

Regards,

- Tobias
Tobias
Top achievements
Rank 1
 answered on 28 Apr 2014
3 answers
30 views
Hi Telerik Team,

I have some users with complaints about the calculator control.  If I start to type in the field (the calculator popup is closed) all of the number show up until I hit the decimal.  The decimal and any numbers after that do show in the textbox until you leave the field.  This seems like very odd behavior to me.  Why can I simply key in 125.00 and that show up in the box from typing it?  If I actually need to do some calculations, then I can launch the calculator.  I have looked at your demos and it works this way there as well.

I don't want to switch to a MaskedTextEditNumeric control because the users do use the calculator portion.  They just want to be able to key in a number and all of the numbers, decimal, and any numbers after the decimal to appear as they are typing them.

What is the reasoning behind this behavior and can it be changed or fixed?

Thanks!!
Maya
Telerik team
 answered on 19 Mar 2014
1 answer
63 views
Hello!

I'd like to know if the following behaviors are possible with radcalculatorpicker control:

1) I wanted to use this control only as a numeric keypad so I changed its style template to show only the numeric keys, display window and the decimal sign. However, its operations are still functional on the keyboard (pressing 1 + 1 in the keyboard displays a sum result). I would like this operations to disable so only pressing of numbers can be done.
2) I would like the "Enter" key event to be caught so I can put my own logic at the same time close the dropdown for the keypad.

Is there possible solutions here? Or do you have a control that I can use such that it can be used in the gridview and when the column is numeric I can display a numpad where user can enter values from. My application is to run on a touchscreen so large buttons are necessary, that is why I needed a numpad for numeric columns. The numericupdown control won't do since it has small updown button hence will be difficult to use.

Hoping for your assistance.


Thanks!
Ivan Ivanov
Telerik team
 answered on 24 Apr 2013
1 answer
49 views
Hi!
I don't know if it's on purpose but there's no validation on the control RadCalculatorPicker.
I'd like my users to be able to use the calculator but  to have some restrictions on the values (such as only positives figures).
When I use a TextBox, the validation works successfully (red border around with the tooltip) but not with this control.
Any idea?
Dimitrina
Telerik team
 answered on 05 Jul 2012
6 answers
77 views
Is there a key to press that closes the RadCalculatorPicker?

I would like to be able to make the picker close itself when the user presses Enter.

I tried catching the KeyUp and KeyDown events, but they only seem to apply to the button that launches the picker. Once the picker is visible, the key events no longer fire.

The only way to close the picker is to click on another control.

Is there a way I can hook into this?

Thanks

Lancelot
Top achievements
Rank 1
 answered on 22 May 2012
1 answer
72 views
Is there an easy way to access the history on the RadCalculator control? I'm looking to save the history after the the final value of the calculation is calculated.

Currently to achieve this, I have created a new control that derives from RadCalculator. I've overridden OnApplyTemplate so I can pull the HistoryTextBox out of the control template, which gives me access to the history text. This gives rise to other problems, such as the fact that the history text is immediately nulled out when the equals button is clicked or the enter key is pressed.

Additionally, is there any way to intercept key events in the RadCalculator? I'd specifically like to be able to tell when a user presses the enter key. ValueChanged doesn't work, since it fires for every intermediate calculation, and obviously doesn't fire when the value doesn't change (such as adding zero).

In case it's unclear, the "History" I'm trying to access is the history seen in this visual structure: RadCalculator Visual Structure
Ivan Ivanov
Telerik team
 answered on 26 Apr 2012
3 answers
64 views
I'm attempting to use a RadCalculatorPicker, binding it to a property of type Nullable<decimal>. The following exception occurs at bind time. Is there something I can do to avoid this?
Thanks,
Chuck

System.Windows.Data Error: 'MS.Internal.Data.DynamicValueConverter' converter failed to convert value 'null' (type 'null'); BindingExpression: Path='Dto.JobOrder.BaseMin' DataItem='ViewModels.JobOrderDetailViewModel' (HashCode=20470679); target element is 'Telerik.Windows.Controls.RadCalculatorPicker' (Name='uxMinSalary'); target property is 'Value' (type 'System.Decimal').. System.InvalidOperationException: Can't convert type null to type System.Decimal.
   at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
   at System.Windows.Data.BindingExpression.ConvertToTarget(Object value).
Vlad
Telerik team
 answered on 06 Feb 2012
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?