bug/annoyance in RadMaskedNumericInput

4 posts, 0 answers
  1. Johan
    Johan avatar
    1 posts
    Member since:
    Jul 2011

    Posted 15 May 2013 Link to this post

    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>
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 20 May 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Sagar
    Sagar avatar
    11 posts
    Member since:
    May 2014

    Posted 15 Jul 2015 in reply to Petar Mladenov Link to this post

    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

  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 17 Jul 2015 Link to this post

    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
Back to Top