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

RadMaskedTextInput SpaceBar bug - change font

1 Answer 52 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 04 Nov 2013, 03:29 AM
Hello
If you place your cursor at the beginning of the field and hold down the space bar your text would appear spaced out and the font changes.

Steps:
  • Place your cusor at the beginning of the name field
  • Hold down and press the space bar
  • Notice text has space between them and the font text changes
  • See attached screenshot


<Window x:Class="IndexOutOfRangeExceptionMaskedNumeric.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:a="clr-namespace:IndexOutOfRangeExceptionMaskedNumeric"
        xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
        xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
        Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        

        <Style x:Key="RadMaskedInputBaseStyle" TargetType="telerikInput:RadMaskedInputBase">
           
            <Setter Property="TextMode" Value="PlainText"/>
            <Setter Property="IsClearButtonVisible" Value="False"/>
            <Setter Property="Placeholder" Value="_"/>
            <Setter Property="Mask" Value=""/>
            <Setter Property="UpdateValueEvent" Value="PropertyChanged"/>
           
        </Style>
       
    </Window.Resources>
    <StackPanel>
        <telerikInput:RadMaskedTextInput x:Name="edtTextBoxControl" Style="{StaticResource RadMaskedInputBaseStyle}"
                                      HorizontalAlignment="Left"
 VerticalAlignment="Center"
                                      Value="{Binding Value,UpdateSourceTrigger=PropertyChanged}"
 
/>
        <TextBox Text="{Binding Value}"/>
    </StackPanel>
</Window>


Thank you

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 04 Nov 2013, 11:18 AM
Hi Jason,

 This is a known issue sin the RadMaskedTextInput. The fix will be available in this week's internal build as well as in the ServicePack later this month. Please excuse us for the inconvenience caused.

Regards,
Petar Mladenov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Jason
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or