Hello,
I have a similiar problem. I cannot confirm the input with the return/enter key. The use of EditorStyle-Property is not an option, because I am using the EditCellTemplateSelector for switching between hex and dec input.
Here is my GridViewColumn:
<
telerik:GridViewDataColumn
Header
=
"{lex:Loc IDS_LIST_VALUES_COLUMN_VALUE}"
Width
=
"100"
SortMemberPath
=
"Value"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding ValueString}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
<
telerik:GridViewDataColumn.CellEditTemplateSelector
>
<
utils:HexDecEditCellTemplateSelector
>
<
utils:HexDecEditCellTemplateSelector.cellTemplateHexEdit
>
<
DataTemplate
>
<
telerik:RadMaskedTextInput
Style
=
"{StaticResource RadMaskedNumericInputHexStyle}"
Mask=">X8"
Value="{Binding ValueEditString, ValidatesOnDataErrors=True}"/>
</
DataTemplate
>
</
utils:HexDecEditCellTemplateSelector.cellTemplateHexEdit
>
<
utils:HexDecEditCellTemplateSelector.cellTemplateDecEdit
>
<
DataTemplate
>
<!-- TODO: Input confirmation with Enter does not work here -->
<
telerik:RadMaskedNumericInput
Style
=
"{StaticResource RadMaskedNumericInputDezStyle}"
Value
=
"{Binding ValueEditString, ValidatesOnDataErrors=True}"
/>
</
DataTemplate
>
</
utils:HexDecEditCellTemplateSelector.cellTemplateDecEdit
>
</
utils:HexDecEditCellTemplateSelector
>
</
telerik:GridViewDataColumn.CellEditTemplateSelector
>
</
telerik:GridViewDataColumn
>
Can you help me with that plz?
regards,
Tobias