Approved
Last Updated: 01 Apr 2019 07:12 by ADMIN

RadMaskedNumericInput Maximum value setting is not working with hungarian culture settings.

 

Steps to reproduce:

- Open the attached project, fix the references and start the application

- Click button "English"

- Select the first item from the dropdown

- Inputs are changing to 1433.2 and 1810.9 - OK

- Select the 2nd item from the dropdown

- Inputs are changing to 0 and 59 - OK

- Click button "Hungarian"

- Select the first item from the dropdown

- Inputs are changing to 1433.2 and 1433.2 - NOT OK, Why?


Thanks,

Roberto

 

Completed
Last Updated: 08 Apr 2019 11:24 by ADMIN
Release LIB 2019.1.408 (04/08/2019)
The control wrongly parse the entered value in cultures that have a comma for a decimal separator
Completed
Last Updated: 05 Oct 2018 14:58 by ADMIN
For example: 

RadMaskedCurrencyInput with Culture="da-DK" and VALUE 12345.67 and Mask=#9.2. In this culture the currency symbol is "kr."

In WIndows 8, the NumberFormat.CurrencyPositivePattern is 2 (meaning '$ n').

In Windows 10, this pattern is 3 (n $). 

So in WIn8, WIn7 or WIn10 but if you change the pattern programmatically to 2. Th result is:



Actual: "kr.___.___._kr,12" this is what we see on load and on focus in control. Editing does not change the value.

Desired: 'kr. ___._12.345,67' in pattern 2

Control also produces ugly results with pattern 0 and 1. Control seems to work ok with pattern 3:

Actual and Desired: '___._12.345,67 kr.'

* this could be achieved on Win 8 with change setting or out of the box in Win10.

==============

Workaround (if applicable and desired formatting in the specific scenario)

Set in code behind:

InitializeComponent();

CultureInfo info = new CultureInfo("da-DK");
 info.NumberFormat.CurrencyPositivePattern = 3;
            
 this.maskInput.Culture = info;


Approved
Last Updated: 20 Sep 2019 11:14 by ADMIN
Setting these properties you can still select the control and change the text inside. 
Approved
Last Updated: 23 Feb 2018 07:42 by ADMIN
Approved
Last Updated: 27 Dec 2016 11:48 by ADMIN
The Value property of the TextInput is not correctly updated when using the On-Screen Touch keyboard when using no mask (Mask=""). We managed to reproduce the issue on Windows 8.1, 10. The behavior is different in both Windows OS. To get the Touch Keyboard you can check the following link.

Windows OS  8.1 - When you enter text and pressed backspace key- the value property is not updated the first time.

Windows OS 10 - When you enter text and pressed backspace key the value property is updated correctly. But if you HOLD THE BACKSPACE KEY the Value property ignored this behavior.
Completed
Last Updated: 15 Jun 2018 11:51 by ADMIN
Approved
Last Updated: 04 Jan 2017 07:34 by Günter
Allow entering an input in (exponent) scientific notation form for the RadMaskedNumericInput control
Completed
Last Updated: 22 Dec 2015 11:48 by ADMIN
RadGridView with CellEditTemplate with RadMaskedDateTimeInput.

Select a GridViewRow. Press ALT  + N Key (or other key with letter/digit).

Argument Exception occurs in MaskedDateTimeGridViewEditor.



The issue is reproducible in Q3 2015 SP (1104) version of Telerik UI for WPF.
The fix will be available in Q1 2016 Release.
Completed
Last Updated: 14 Jun 2016 07:52 by ADMIN
You have the following scenario.
The UpdateValueEvent property is set to "LostFocus" and set no mask ( Mask= "").

When the input box is focused, press the minus sign key. You can see the that the minus is showing as expected. 

Then press a number and the "-" (minus) disappear. By pressing number key again the minus appears again.

A workaround: 
Setting the UpdateValueEvent property to PropertyChanged


Available in R2 2016 SP
Completed
Last Updated: 09 Sep 2016 11:48 by ADMIN
Possible workaround:
You can subscribe to the PreviewTextInput event of the control and change the position of the caret if the typed char is the same as the current one.

private void RadMaskedTextInput_PreviewTextInput(object sender, TextCompositionEventArgs e)
        {
            var input = sender as RadMaskedTextInput;
            var currentPosition = input.SelectionStart;

            if (currentPosition != input.Text.Length)
            {
                var currentChar = input.Text[currentPosition];

                if (currentChar != input.Placeholder && currentChar.ToString() == e.Text)
                {
                    input.SelectionStart++;
                }
            }
        }



Available in R3 2016 Release
Completed
Last Updated: 09 Oct 2017 12:09 by ADMIN
Fix available in LIB Version 2017.3.1009.
Completed
Last Updated: 01 Apr 2016 14:08 by ADMIN
Mask="" (no-mask) and FormatStyring =n3 or n4 , n5.

Value is 0.

Typing 0 then ".", then 0, then 0, then 5 produces 0.5000 but it should produce 0.0050.

Fix available in LIB Version 2016.1.404.
Completed
Last Updated: 09 Mar 2018 06:59 by ADMIN
A possible workaround is to subscribe to the PreviewKeyDown event of the mask then check if the back key is pressed and the whole text is select and set the value to null in order to erase the text of the mask.

private void maskTextInput_KeyDown(object sender, KeyEventArgs e)
{           
	if (e.Key == Key.Back && this.maskTextInput.SelectionLength == this.maskTextInput.Text.Length)
	{
		this.maskTextInput.Value = null;                 
	}
}
Approved
Last Updated: 08 Dec 2016 09:41 by ADMIN
In MaskedTextInput the ClearButton will make the Value "" but it should make it NULL. All other InputControls have null value after pressing ClearButton.

No-masked TextInput works fine - the ClearButton makes the Value Null.

As a workaround, you can use the ClearCommand, bind it to Command from your ViewModel and the execute handler can set the bound Value to null.
Approved
Last Updated: 28 Dec 2016 13:57 by ADMIN
The Mask property of the RadMaskedDateTimeInput cannot be set or changed via binding. Internally it is always set to "d".
Declined
Last Updated: 03 Nov 2014 14:56 by Vadimir
Created by: Vadimir
Comments: 0
Category: MaskedInput
Type: Feature Request
1
I think it would be great to have a IsMultilineAllowed property for this control, as AcceptsReturn property is only designed to ignore the return key entered by the user.

Here is my post in the forum:
http://www.telerik.com/forums/paste-multi-line-text-when-acceptsreturn-set-to-false
========
Reason for Decline: The desired request is custom logic that could be implemented by inheriting the RadMaskedInput control and overriding HandlePaste.
Approved
Last Updated: 27 Dec 2016 13:44 by ADMIN
Mask is "a-a". Value is set to "M-M".

The MaskedTextInput control must internally coerce the Value to "MM".
Instead , MaskedTextInput'Value is "M-" which is wrong.

Other example of the same issue:
Bound Value is bbaabbaabbdd, Mask is "aa-aa-aa-aa-aa-aa"
The result is - value becomes bbbbbbddaaaa.

Workaround:
Use custom Mask Token (check help article: http://docs.telerik.com/devtools/wpf/controls/radmaskedinput/how-to/howto-create-custom-token.html)

 public class CustomToken : ITokenValidationRule
    {
        public bool IsRequired
        {
            get { return false; }
        }

        public bool IsValid(char ch)
        {
            return ValidChars.Contains(ch.ToString());
        }

        public char Token
        {
            get { return '$'; }
        }

        public TokenTypes Type
        {
            get { return TokenTypes.AlphaNumeric; }
        }

        private string myValidChars = "0123456789qwertyuioplkjhgfdsazxcvbnm";
        public string ValidChars
        {
            get { return myValidChars; }
        }
    }

    TokenLocator.AddCustomValidationRule(new CustomToken());
            InitializeComponent();

   <telerik:RadMaskedTextInput Mask="$-$"