This question is locked. New answers and comments are not allowed.
Hi I have some code as such
When i click on the cell then click on it again to bring up the CellEditTemplate i get the RadMaskedTextBox properly.
When i click into the RadMaskedTextBox and type in a single number the cell automatically goes back into read mode and the next cell to the right is highlighted (like hitting the tab button).
Any ideas of what could be causing this?
EDIT* I have found other columns having the same behavior. If I create a GridViewDataColumn and in the CellEditTemplate i put a normal CheckBox by itself. When i double click to bring up the CheckBox that can be modified as soon as i click into the CheckBox to change its value the Cell goes back into Read mode and tabs to the next cell in the tabbing order
| <telerikGridView:GridViewDataColumn Header="Money" |
| Width="100" |
| DataMemberBinding="{Binding Money}" |
| DataFormatString="{} {0:c}"> |
| <telerikGridView:GridViewDataColumn.CellEditTemplate> |
| <DataTemplate> |
| <Grid VerticalAlignment="Center"> |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width="*"/> |
| <ColumnDefinition Width="Auto"/> |
| </Grid.ColumnDefinitions> |
| <telerikInput:RadMaskedTextBox x:Name="MoneyTextBox" |
| MaskType="Numeric" |
| Mask="C0" |
| Value="{Binding Money, Mode=TwoWay}" |
| Grid.Column="0" |
| VerticalAlignment="Center"/> |
| <my:ValidationElement TargetControl="{Binding ElementName=MoneyTextBox}" |
| Grid.Column="1" |
| VerticalAlignment="Center"/> |
| </Grid> |
| </DataTemplate> |
| </telerikGridView:GridViewDataColumn.CellEditTemplate> |
| </telerikGridView:GridViewDataColumn> |
When i click on the cell then click on it again to bring up the CellEditTemplate i get the RadMaskedTextBox properly.
When i click into the RadMaskedTextBox and type in a single number the cell automatically goes back into read mode and the next cell to the right is highlighted (like hitting the tab button).
Any ideas of what could be causing this?
EDIT* I have found other columns having the same behavior. If I create a GridViewDataColumn and in the CellEditTemplate i put a normal CheckBox by itself. When i double click to bring up the CheckBox that can be modified as soon as i click into the CheckBox to change its value the Cell goes back into Read mode and tabs to the next cell in the tabbing order