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

First character lost when typing into GridViewMaskedInputColumn

2 Answers 26 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Alex asked on 29 Nov 2018, 05:09 PM

Hello. I'm new to using Telerik and I'm experiencing strange behavior when editing data in the RadGridView control. I have a GridViewMaskedInputColumn and I lose the first character if I start editing the content of the cell by pressing 2 or more keys in quick succession. I've searched and searched these forums (as well as Telerik's guides and Google), but I could not find anything that helped. Please forgive me if I overlooked something.

My project currently using version 2018.1.122.45 of Telerik's WPF suite. 

Here's a snippet of my XAML, please let me know if more detail is needed. 

<telerik:RadGridView Name="MainGridView"
                   IsBusy="{Binding IsGridRefreshing}"
                   ItemsSource="{Binding Path=DetailGridVM.TblDetailGrid}"
                   SelectedItem="{Binding Path=DetailGridVM.SelectedDetail, Mode=TwoWay}">
        <telerik:GridViewMaskedInputColumn Header="Vendor Number"
                                          DataMemberBinding="{Binding VendorNumber, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
                <Style TargetType="telerik:GridViewHeaderCell">
                    <Setter Property="TextAlignment" Value="Center"/>
                    <Setter Property="TextWrapping" Value="Wrap"/>
                    <Setter Property="Background" Value="#FF9AE1B4"/>
                    <Setter Property="Foreground" Value="Black"/>
                <Style TargetType="telerik:RadMaskedTextInput">
                    <Setter Property="SelectionOnFocus" Value="SelectAll"/>


Please note that the "Mask" property for the column object doesn't actually contain the ">" sign. It uses the correct notation as demonstrated in Telerik's guide, I just can't figure out how to escape it in this forum. 

Thank you for any assistance. 


2 Answers, 1 is accepted

Sort by
Dilyan Traykov
Telerik team
answered on 04 Dec 2018, 03:56 PM
Hello Alex,

Thank you for the provided code snippet. I can confirm that I was able to replicate the undesired behavior at my end.

This does seem like a bug at our end and I have thus logged a new bug report in our feedback portal regarding it. As a thank you for your help in addressing it, I've awarded you with some Telerik points.

I'm afraid, however, that I cannot offer a viable workaround at this point. What I can suggest is to follow the feedback item to get notified once a fix for this issue is introduced.

Nonetheless, if I can be of any other assistance, please let me know.

Dilyan Traykov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Top achievements
Rank 1
answered on 04 Dec 2018, 04:03 PM

Hello Dilyan,

I'm happy to contribute. I'll follow the feedback item as you suggest. 

Asked by
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Top achievements
Rank 1
Share this question