Today I stumbled on a strange behavior using the the telerik GridView. While editing some cells of a column using the keyboard, suddenly the current cell ignores keyboard input. The effect is repeatable. Always after editing 5-10 celles using every time the same keyboard sequence, the cell ignores normal keyboard input. Only command keys like Del, Backspace or Home are working. This behavior applies for all cells in the grid. Other input fields are working normally. After closing and re-opening the input window, it starts from scratch until the next occurence of the effect.
A short look with Spy++ shows that the WM_CHAR message will not be sent to the control while the effect occurs. WM_KEYDOWN and WM_KEYUP are sent normally.all the time.
The grid column is defined as:
<telerik:GridViewDataColumn Header="Translation" DataMemberBinding="{Binding Path=OriginalTranslation}" Width="150*" MinWidth="100" TextWrapping="Wrap" Background="#1EFFFFFF" ShowDistinctFilters="False">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Translation}" TextWrapping="Wrap" Background="#1EFFFFFF" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=Translation}" TextWrapping="Wrap" BorderThickness="0" GotFocus="TextBox_GotFocus" Background="#1EFFFFFF" />
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
Any idea what ist going wrong?
Regards Reimund
A short look with Spy++ shows that the WM_CHAR message will not be sent to the control while the effect occurs. WM_KEYDOWN and WM_KEYUP are sent normally.all the time.
The grid column is defined as:
<telerik:GridViewDataColumn Header="Translation" DataMemberBinding="{Binding Path=OriginalTranslation}" Width="150*" MinWidth="100" TextWrapping="Wrap" Background="#1EFFFFFF" ShowDistinctFilters="False">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Translation}" TextWrapping="Wrap" Background="#1EFFFFFF" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=Translation}" TextWrapping="Wrap" BorderThickness="0" GotFocus="TextBox_GotFocus" Background="#1EFFFFFF" />
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
Any idea what ist going wrong?
Regards Reimund