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

bug/annoyance in RadMaskedNumericInput

3 Answers 31 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Johan
Top achievements
Rank 1
Johan asked on 15 May 2013, 06:08 PM
We are back on trying your suite, and we have encountered a little situation with the RadMaskedNumericInput
If the user enter any number, and then selects all the content and press DEL or Backspace, it shows "0" (thats what we want). BUT, if the user then selects all the content again and again press DEL or Backspace, then the text is empty, although the Value property still is 0. We want that everytime that the content is deleted, allways the maskedinput shows "0" (or 0.00 if its double / decimal)

The steps:
1) input any numer:  4587
2) Shift+home to select all
3) DEL to delete (it shows 0, OK!)
4) shit+home to select all, again
5) DEL to delete (it should show 0, but it is empty! BAD!)


Here is a simple App:


<Window
        x:Class="WpfApplication3.MainWindow"
        xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
 
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
 
        <telerik:RadMaskedNumericInput            
            Grid.Column="0"
            IsClearButtonVisible="False"            
            UpdateValueEvent="PropertyChanged"
            SpinMode="PositionAndValue"
            Mask="#4"
            Culture="es-AR"
            HorizontalAlignment="Left"
            Margin="3" 
            maskedInput:MaskedInputExtensions.AllowNull="False"           
            maskedInput:MaskedInputExtensions.Maximum="7500"
            maskedInput:MaskedInputExtensions.Minimum="0"
            AllowInvalidValues="False"
            x:Name="MyMasked"
            />
 
        <TextBlock Text="{Binding ElementName=MyMasked,Path=Value}" Grid.Column="1" />
         
        <Button Grid.ColumnSpan="2" Grid.Row="1" Content="SAVE" />
 
    </Grid>
</Window>

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 20 May 2013, 05:29 PM
Hi Johan,

 You are right. This is a bug in our RadMaskedInput suite and we logged it in our PITS where you can track its status. We also updated your telerik account points as a thanks for your cooperation.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sagar
Top achievements
Rank 1
answered on 15 Jul 2015, 12:13 PM

Is the reported issue in this Post resolved. I am facing similar issue and have to do some background processing to handle the empty inputs.

 

Thanks,

Sagar

0
Petar Mladenov
Telerik team
answered on 17 Jul 2015, 08:30 AM
Hello Sagar,

The mentioned issue is moved from PITS to our feedback portal in January 2014. The fix should be available since Q1 2015 . Could you please confirm you are using at least this version or newer ? If yes, is it possible for you to elaborate a bit more on your scenario and your workaround in code. We would be glad to help you further or investigate a potential issue in our code. Thank you in advance for your cooperation.

Regards,
Petar Mladenov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Johan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Sagar
Top achievements
Rank 1
Share this question
or