Telerik Forums
UI for Silverlight Forum
7 answers
538 views

Hi everyone,

The Common MaskedInput documentation has the following statement:

The 'no-mask' functionality will remove the restrictions usually applied by the Mask property on the type and the number of input characters in each of the controls. Still you can set the FormatString property to control the input in the RadMaskedInput controls when they don't specify a Mask.

So far, I have not been able to get this to work.  For instance, if I set the Mask to empty and set the FormatString to something like "########.##########" I do not seem to be able to enter a decimal number at all, meaning there is no capability to type a decimal separator.  If I were to set a Mask, something like "#8.10", I still get a lot of zero autofilling even though those options are turned off.

Let me know if you need more detail,

Thanks!
Adam.g
Petar Mladenov
Telerik team
 answered on 12 Jan 2018
1 answer
61 views

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.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Jan 2018
6 answers
468 views

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.

Martin
Telerik team
 answered on 04 Jul 2017
3 answers
42 views

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?

 

Peshito
Telerik team
 answered on 11 Apr 2017
5 answers
176 views

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.

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Mar 2017
3 answers
94 views

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.

Martin Ivanov
Telerik team
 answered on 20 Mar 2017
1 answer
185 views

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!

Petar Mladenov
Telerik team
 answered on 20 Jun 2016
9 answers
325 views
Hi telerik team!
How to set value =0 when clear value of RadMaskCurrencyInput ? (now it return nothing)
cases : 
    click button clear value : resolved
    Hold back key : ?
    Hold delete key: ?
thanks!
Milena
Telerik team
 answered on 24 Nov 2015
2 answers
88 views

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"/>​

Tirumala Manikanta
Top achievements
Rank 1
 answered on 03 Nov 2015
7 answers
237 views
Hi there,

Here are the components I use
Telerik Controls 2012Q2 (2012.1.430.1050).  
WCF RIA and especially the validation system.

I have a property on model that is decorated with a custom Validation as in 
[System.ComponentModel.DataAnnotations.CustomValidationAttribute(typeof(Wk.Data.BasisBaumEntityValidator), @"ValidateRechtswert")]

Following is the xaml of the MaskedInput
<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}" />

The validation is hit twice:
  • - when the value of the property is changed
  • - before WCF RIA issues a submit operation

When the user changes the value while editing the entity, the validation is done and an error is displayed as you can see in maskedinput_witherrormessage.png

When the entity is submitted via WCF RIA, the validation is performed and ValidationErrors collection is properly filled.  However, the error message is not displayed property.  Please see maskedinput_noerrormessage.png.  The little red dot on the right of the control is where the error message is usually displayed. 

How can I further investigate this issue?

Thank you for your help!





Petar Mladenov
Telerik team
 answered on 30 Sep 2015
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?