I'm using a RadMaskedNumericInput (build 2017.3.913.1050) ... when I mouse click to enter the control, then hit Delete key, then hit some other button on my page, the OnPropertyChanged is NOT being fired? Binding mode is set to TwoWay.
Also tried using UpdateValueEvent="LostFocus" but that made no difference.
If I do the same exact sequence of mouse and key with a standard Microsoft "TextBox" the OnPropertyChanged is fired.
This is MVVM scenario.
Any suggestions? Or is this a bug?
Cheers, Rob.
For some strange reason the default background for Telerik MaskedNumericInput validation tooltip is has a white background and red text, where as all the Microsoft controls (TextBox, ComboBox, etc.) have a red background and white text.
So if I mix controls the validation tooltip is not a consistent look and feel. Is there any "easy" way to simply change the validation tooltip background and foreground colors so I can match Microsoft's default colors?
Please don't start on about using No XAML binaries and loading blend to see the templates and then change the templates ... 5 hours later and tons of code change later and a broken project I eventually get a red background and white text in my validation tooltip. There MUST be a easier way? going back 12 years it was as simple as click and pick the color I want ... I'm hoping in this day and age it does require hours of research, loading project samples on how to do it, and hours and hours of changing my existing code. All I want to do is change a background color from white to red and a foreground color from red to white ... nothing more, nothing less.
Please tell me this is easy.
Sorry if I sound frustrated but I often wonder if software engineering is actually moving forward and not backward.
Cheers, Rob.
Hi,
I'm using the RadMaskedCurrencyInput in a no mask scenario (Mask="") and I want to allow the users to type "1k" and get the value pushed back to the underlying viewmodel as 1000. I've looked at the source code and the available overrides, and I can't see a suitable place to achieve this. Any ideas?
When using either NumericInput (Mask="###0") or CurrencyInput (Mask="#4.2") with IsValidationHintVisible="False" and IsClearButtonVisible="False" and Placeholder=" " ... if I enter a negative value ... i.e. -1 or -10 the negative value can't be edited out by user input, highlight the entire content and Backspace or Delete and the negative symbol either "-" or "( )" remains in the input box.
For an end user this becomes very difficult to work with ... so long as the user doesn't enter negative values, all is good, but as soon as they enter a negative value and the editing it out is difficult to impossible.
Am I missing something, or is there some way to get these controls to work better with negative input that needs to be edited out.
Thanks, Rob.
If I have user input that could be 0-10,000 and I want the comma to appear "AS THEY TYPE" not before they type the value 9094 ... I can't accomplish this using Mask "#4.0" with AutoFillNumberGroupSeparators.
In a Mask "#4.0" and AutoFillNumberGroupSeparators="True" and the user inputs value "12" what they see is " , 12" which is very confusing to an end user - comma in front of the number??.
In a Mask "#4.0" and AutoFillNumberGroupSeparators="False" and the user inputs value "12" what they see is "12" ... this is good, BUT, and this is a big BUT, if the user enters "9094" what they see is "9094" with NO comma.
The appearance of the comma when AutoFillNumberGroupSeparators="True" should ONLY happen IF the user has enter sufficient digits (i.e. 4) such as to require a comma for thousands separator. The current behavior of AutoFillNumberGroupSeparators is frankly not useful at all.
I guess my questions:
1. Is this a bug?
2. If this is "by design" is there some alternative that would work the way I described above? (which is how my end users would like to see it)
Cheers, Rob.
Hi everyone,
I'm working on a feature which allows the user to use an onscreen keyboard. To do that, I need to simulate all the keys of the real keyboard. I have had success with all keys, except in the Enter Key over RadMaskedTextInput control. I would like to know if there are some way to do that from the code behind, throwing an event, or some way. I need that the RadMaskedTextInput control does exactly what it does when I press enter in the physical keyboard.
Thanks for your replies!
Hi,
When we set the Numeric Range validation as (2 - 10) using MaskedInputExtensions, we are not able to enter 10 in the textbox. We need to enter 9 and then press up arrow to input 10. Please suggest how to solve this issue.
<telerik:RadMaskedNumericInput Height="23" Width="200" maskedInput:MaskedInputExtensions.Maximum="10" maskedInput:MaskedInputExtensions.Minimum="2"/>​
[System.ComponentModel.DataAnnotations.CustomValidationAttribute(
typeof
(Wk.Data.BasisBaumEntityValidator), @
"ValidateRechtswert"
)]
<
RadInput:RadMaskedNumericInput
Name
=
"X"
Mask
=
"#6.2"
Value
=
"{Binding Path=Current.X, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True, ValidatesOnNotifyDataErrors=True, ValidatesOnDataErrors=True}"
Width
=
"110"
MaskedInput:MaskedInputExtensions.Minimum
=
"0"
IsReadOnly
=
"{Binding Path=IsReadOnly}"
/>